I understand you are providing in the next release the ability to sort columns, (I assume this means the user can sort column order in the Grid, correct?)
What about a column/field chooser? I have 16 columns and they are getting cluttered. I have been looking for a "visible" property in the column array (I have not found anything). Is there a best practice way to add/remove columns in code?
But also, it would be nice that if your are adding the sort column feature, to add a hide/show column or field chooser option.
What about a column/field chooser? I have 16 columns and they are getting cluttered. I have been looking for a "visible" property in the column array (I have not found anything). Is there a best practice way to add/remove columns in code?
But also, it would be nice that if your are adding the sort column feature, to add a hide/show column or field chooser option.
6 Answers, 1 is accepted
0
Hello Yechezkal,
Showing/hiding is not currently supported, however column sorting is supported from the first official release of Kendo UI.
http://demos.kendoui.com/web/grid/sorting.html
Regards,
Nikolay Rusev
the Telerik team
Showing/hiding is not currently supported, however column sorting is supported from the first official release of Kendo UI.
http://demos.kendoui.com/web/grid/sorting.html
Regards,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Dr.YSG
Top achievements
Rank 2
answered on 03 May 2012, 03:23 PM
I should be more precise, I know that sorting columns vertically is supported in 2012 Q1.
But what I see announced in your blog is the ability to reorder the order of the columns in the next release.
What I am looking is will you also allow me to make columns visible/non-visble (hide columns and how to go about doing this) as well as a suggestion that this be added to the next release. (Something like the Excel /Outlook Field Chooser). So that the end user can choose to display or hide certain columns.
Seems like if you are already adding the ability to change the order of the columns, this should be an easy add on.
(but I also want to know how to do it right now, in code, and what you suggest as the best methodology).
But what I see announced in your blog is the ability to reorder the order of the columns in the next release.
What I am looking is will you also allow me to make columns visible/non-visble (hide columns and how to go about doing this) as well as a suggestion that this be added to the next release. (Something like the Excel /Outlook Field Chooser). So that the end user can choose to display or hide certain columns.
Seems like if you are already adding the ability to change the order of the columns, this should be an easy add on.
(but I also want to know how to do it right now, in code, and what you suggest as the best methodology).
0
Hello Yechezkal,
Now I understand what you mean. Column reordering as well as column resizing will be available not later than official Q2 2012.
Column visibility API is in our plans, but cannot tell exactly when it will be available. You can cast your vote for it here.
Regards,
Nikolay Rusev
the Telerik team
Now I understand what you mean. Column reordering as well as column resizing will be available not later than official Q2 2012.
Column visibility API is in our plans, but cannot tell exactly when it will be available. You can cast your vote for it here.
Regards,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Dr.YSG
Top achievements
Rank 2
answered on 04 May 2012, 02:34 PM
I need column visibility now. There are a number of ways to do this, but I want to do it safely. Do you have a couple of pointers to how to go about in in jquery?
0
Accepted
Hello Yechezkal,
Hiding column algorithm should be as follow:
- remove the col element for the corresponding column
- hide the corresponding header cell
- hide all data/footer cells
Few things to have in mind - all colspans should be re-calculated in case of hierarchy or grouping. Column width should be persisted so it can be applied once the column is shown again.
Regards,
Nikolay Rusev
the Telerik team
Hiding column algorithm should be as follow:
- remove the col element for the corresponding column
- hide the corresponding header cell
- hide all data/footer cells
Few things to have in mind - all colspans should be re-calculated in case of hierarchy or grouping. Column width should be persisted so it can be applied once the column is shown again.
Regards,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Ramon
Top achievements
Rank 1
answered on 30 Aug 2012, 03:18 AM
If you don't mind a little UI distortion : set column.width to be "1px"