Friday, 27 November 2015

Extjs Hide Expand/Collapse button in Grouping header in Grouping grid

While  working with Extjs grouping grid. I would like to hide and show the Expand/Collapse button in Grouping grid group header. but i don't want to global for all grouping grid.
 So i added custom CSS for my particular grid.


.myEmployeeGrid .x-grid-group-hd-collapsible .x-grid-group-title {
background : none !important;
background-image: none !important;

}




Before applying this CSS for your grid just inspect the CSS class which class is rendered.
Add this the following property to your grid.

hdCollapsedCls: 'myEmployeeGrid',







No comments:

Post a Comment