Hi all,
I created my first custom widget, and thought I would share it with everyone. I call it a "Grid Jumpto". Basically, it displays a list of links for each letter of the alphabet (which can be modified to include numbers and special characters if needed). It is also linked to a grid object, and a field within the grid. When a user clicks on one of the links, the grid is automatically positioned to the first row that begins with the letter that was clicked. It's a way to quickly move to positions in a grid. This is all done on the front-end, so no additional RPG code is required to use it.
There are a few limitations that I know of:
1) The grid needs to be sorted in ascending order by the field you want to use to jump to. This will cause problems if you allow users to sort the subfile.
2) You can't use this with a page-at-a-time subfile. The entire subfile needs to be loaded in order for this to work.
I tested this in Chrome 43 and IE 10. I haven't tried Firefox, Opera, or Safari yet.
I put this on github. Give it a try and let me know what you think.
https://github.com/nickdeppe/profoundui-widgets
Grid Jumpto - custom widget
-
- New User
- Posts: 14
- Joined: Fri Dec 05, 2014 1:17 pm
- First Name: Nick
- Last Name: Deppe
- Company Name: Victaulic
- Phone: 6109233257
- Address 1: 4901 Kesslersville Road
- City: Easton
- State / Province: Pennsylvania
- Zip / Postal Code: 18040
- Country: United States
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 2 guests