Canvas based data grid web component. Capable of displaying millions of contiguous hierarchical rows and columns without paging or loading, on a single canvas element.
Dispatching events on hiding/unhiding columns is useful te be able to store grid state externally, (e.g. in settings or user profile).
I've now made it so that an event is dispatched for each individual column being hidden even when a group of columns is being hidden. User can handle all individual events or debounce and, on last event, retrieve grid schema to figure out which columns are hidden or not.
Also moved unhideColumns to publicMethods.js, this seemed appropriate as all the other hide/unhide methods are located there.
Similar approach could be implemented for hiding / unhiding rows, will do as separate PR if agreed on this approach for columns.
Dispatching events on hiding/unhiding columns is useful te be able to store grid state externally, (e.g. in settings or user profile).
I've now made it so that an event is dispatched for each individual column being hidden even when a group of columns is being hidden. User can handle all individual events or debounce and, on last event, retrieve grid schema to figure out which columns are hidden or not.
Also moved
unhideColumns
topublicMethods.js
, this seemed appropriate as all the other hide/unhide methods are located there.Similar approach could be implemented for hiding / unhiding rows, will do as separate PR if agreed on this approach for columns.