PDA

View Full Version : How to remove checkall option in checkboxmodel?



extremed
6 Sep 2011, 7:20 AM
How to remove check all option is extjs 4 checkboxmodel?

27888

Regards

arthurakay
6 Sep 2011, 10:28 AM
Check the API docs. Look at "injectCheckbox" config.

extremed
6 Sep 2011, 10:32 AM
couldn't understand how to do with it though.

anyway i managed to hide it using css



.x-column-header-checkbox {display:none;}

arthurakay
6 Sep 2011, 10:36 AM
couldn't understand how to do with it though.

injectCheckbox: false

extremed
6 Sep 2011, 10:40 AM
already tried that and it hides all check boxes though

arthurakay
6 Sep 2011, 10:59 AM
Ah, I see what you mean. The API docs are misleading... sorry for leading you down that path.

Doing a quick search on the forum, it looks like using CSS is the only way to achieve this.

extremed
6 Sep 2011, 11:01 AM
Yeah. searched all over and nothing found other than css methods.

Thanks anyways. appreciate your help.