9 Mar 2013 4:40 AM #1
I was working on creating nested grid with the ability to expand/collapse rows, so i used rowexpander plugin.
I need a custom header for the column which contains the expander.
For example, on the first grid here: http://docs.sencha.com/ext-js/4-1/#!...d-plugins.html you can see empty header for the first column, I'd like to customize it with my own markup..
So, I found one possible solution (just to overwrite the header on grid beforerender event), but I really don't like it.
Does anybody know how can I customize the header?
10 Mar 2013 8:39 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You would have to override the getHeaderConfig method of the plugin.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
14 Mar 2013 11:48 AM #3