Hey Guys, I have a custom toolbar with an option to hide/show my grid columns, and I also have the column menu which I need the lock and filter option.
How can I remove the form my column menu the item "Columns"?
Thank you for your time!
2 Answers, 1 is accepted
0
Accepted
Dimiter Madjarov
Telerik team
answered on 19 Sep 2014, 08:18 AM
Hello David,
You could achieve this in the columnMenuInit event of the Grid.
E.g.
function columnMenuInit(e) {
var item = e.container.find(".k-columns-item");
item.prev(".k-separator").remove();
item.remove();
}
I hope this information helps.
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!