-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AddSortableColumn, part deux #128
Comments
Discovered the 'createFirstHeaderRow' constructor:
Most of the secondary issue is solved as well. What is left is that moving an item from Selected to Available puts that item at the bottom of the list rather than back in its original spot. Not intuitive. Still think a future where each grid can be configured separately will create more flexibility ... |
Hello.
Yes, that was the original design. Then we realized that some use cases require different configurations on each side, thus we introduced public getters for each grid (
I understand that this issue can be closed, since what remains is already discussed in #127 (feel free to comment if you have further suggestions or questions) |
Gotta say, this as in incredibly useful add-on that has saved me a lot by not having to handle all the details! Some things to consider:
Further spelunking re: my earlier post.
It appears that the original design was for both Available and Selected to have the same characteristics (forEachGrid in addSortableColumn). This may now be limiting, particularly after adding the ability to rearrange Selected. The sortable attribute may not be appropriate at all for the Selected grid.
Consider that future flexibility to adjust Available and Selected characteristics independently may enable some functionality that is otherwise not possible or convoluted to construct.
In my case I've run into some issues that seem insurmountable (could be I'm not doing it right!) because:
It strikes me that allowing unique choices on Selected behavior will enable us to provide a more creative user experience.
A secondary issue, minor but interesting, is that there is a case where having a header for both Available and Selected is unnecessary, saving some screen real estate. For example:
There does not appear to be a way to eliminate the column headers, likely as the design relied on them for sorting.
Thanks for your consideration!
The text was updated successfully, but these errors were encountered: