4 Answers, 1 is accepted
0
Hi William,
Yes, sorting of a Grid, which is created from an existing <table>, is possible. The widget creates a Kendo UI dataSource instance and fills it with the data from the table cells. Later on, this dataSource executes the data operations and populates the Grid. However, you should keep in mind that by default, all data fields will be of a string type and may not be sorted as expected, unless you specify a schema with a model.
Greetings,
Dimo
the Telerik team
Yes, sorting of a Grid, which is created from an existing <table>, is possible. The widget creates a Kendo UI dataSource instance and fills it with the data from the table cells. Later on, this dataSource executes the data operations and populates the Grid. However, you should keep in mind that by default, all data fields will be of a string type and may not be sorted as expected, unless you specify a schema with a model.
Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
William
Top achievements
Rank 1
answered on 21 Nov 2012, 02:30 PM
I set sortable to true, but nothing happens when I click on the column headers.
I don't think there is anything special about my table. Thanks.
William Wade
$("#grid").kendoGrid({
height:500,
sortable:true
});
William Wade
0
Hello William,
Please check for Javascript errors. If you don't have any, please provide a runnable jsFiddle / jsBin demo, which reproduces the problem.
All the best,
Dimo
the Telerik team
Please check for Javascript errors. If you don't have any, please provide a runnable jsFiddle / jsBin demo, which reproduces the problem.
All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
William
Top achievements
Rank 1
answered on 06 Dec 2012, 05:30 PM
Sorry to take so long in replying. The issue was my version of KendoUI (discovered when building the fiddler example). I upgraded to the latest build and it works. Thanks.
Wade
Wade