Hi. I am working on an Angular project which used Kendo Grid. I am aware that I can use the columnMenu property to give users the ability to filter columns that they want to see. Is there any way I can show some columns as default?
This is my first post. please bear with me.
-AZ
3 Answers, 1 is accepted
0
Kiril Nikolov
Telerik team
answered on 29 Jul 2016, 07:39 AM
Hello,
I am not sure that I understand exactly the request, however I have two suggestions:
1. If you want to filter by default, you can set the filters, using the filter() method of the dataSource, as shown here:
Thanks for replying. Let me try to rephrase my question.
Let's say I have two columns in my grid, col A and col B. I want to hide col A when the grid displays initially and users should be able to show col A by marking the checkbox in the column menu later on. Does it make more sense?
I think columnMenuInit is the way to go but I have not find a way to hide a column yet.