I have a table in dataset like: ------------------- id class name sub ------------------------ 1 mca aditya network 2 mca abhishek daa 3 mca akhilesh algorithm 4 btech ram cs 5 btech shyam ds 6 btech anand client/server 7 mba furqan os 8 mba arvind marketing 9 mba aayush hr I want a result set in telerik rad grid like the following: ---------------- class name sub ------------------------ mca aditya network abhishek daa akhilesh algorithm btech ram cs shyam ds anand client/server mba furqan os arvind marketing aayush hr
答案 0 :(得分:0)
John DeVight已经向Telerik MVC网格写了extension。他有一个名为hideGroupColumns的函数,它隐藏了分组的列。语法如下所示:
$('#grid').data('tGrid').hideGroupColumns()
Telerik社区论坛有some discussion此扩展程序。