Toggle HeaderRow Hide or Show

272 views
Skip to first unread message

nono1974

unread,
May 22, 2013, 5:59:41 PM5/22/13
to slic...@googlegroups.com
Hello

I am looking after to push a button to show or hide the Filter Header Row.

I look into the exemple but didn't get satisfacting solution.

We need to use explicitInitialization in option. This is affect the size of viewport height and need to toggle several time to get it match correctly and display filter input in header row.

Is there a way to do it pretty simply ? and use grid.onHeaderRowCellRendered event without explicitInitialization.

regards

Arnaud

Michael Leibman

unread,
May 22, 2013, 6:37:26 PM5/22/13
to slickgrid
You need explicit initialization in order for the onHeaderRowCellRendered event to be fired AFTER you subscribe to it.  Explicitly calling "grid.init()" right after you subscribe to all the events is absolutely identical to not using explicitInitialization option in terms of the viewport sizing, etc.



--
You received this message because you are subscribed to the Google Groups "SlickGrid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

nono1974

unread,
May 23, 2013, 4:03:05 PM5/23/13
to slic...@googlegroups.com

Thank you for your quick answer. I got it. It works just fine.
Reply all
Reply to author
Forward
0 new messages