Grid column menu - default columns

4 posts, 0 answers
  1. Asmita
    Asmita avatar
    8 posts
    Member since:
    Jun 2016

    Posted 19 Sep Link to this post

    http://demos.telerik.com/kendo-ui/grid/column-menu

    Hello,

    I have 10 columns(Also to be in column menu) that i need to get from the database, but by default show only 5 of them. 

    How can I choose what columns i was to display by default in the grid and others I can hide for the moment unless user selects from column menu?

     

    Thanks for the help!

  2. Patrick
    Admin
    Patrick avatar
    174 posts

    Posted 20 Sep Link to this post

    Hello Asmita,

    To hide a column by default, set columns.hidden to true.  When you click on the column menu, you will see the column name unchecked.  

    Here is a Kendo UI Dojo by Progress which illustrates this approach.

    Hope this helps!

    Regards,
    Patrick
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Asmita
    Asmita avatar
    8 posts
    Member since:
    Jun 2016

    Posted 28 Sep Link to this post

    Thanks!!!
  5. Patrick
    Admin
    Patrick avatar
    174 posts

    Posted 29 Sep Link to this post

    Hello Asmita,

    Glad to help, and that everything is working!

    Regards,
    Patrick
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready