Hi,
i'm trying to dynamically show/hide the gridpanel header checkbox. My objective is that, when i load the gridpanel if there is no data in it's store, the checkbox in the header of the gridpanel must be hidden. if there is rows in the store then the checkbox in the header must be shown.

I try with the selectionModel.hideCheckAll property but it don't work in the code behind when i want to set it to false. In he page_load event i put it to true and the checkbox in the header is not visible. but when i bind the store of the gridpanel with data and want it back to false by setting the hideCheckAll property to false it don't work.

I make some search on the web and there is some people thinking that it can be solve by using css. but i don't know how to do it. can someone help me?