When I am using telerik radgrid I am getting issue on Collpase/Expand with ColumnGroups property. I am getting error like "Type 'Telerik.Web.UI.GridTableView' does not have a public property named 'ColumnGroups'."
I used below link to achieve the drag to group by the grid columns but I stuck up with this collapse/expand issue while grouping it.
https://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/multi-column-headers/defaultcs.aspx
I will be very happy if anyone resolved it.
Related
I tried using the frozen columns and detail template both at a time but both they are not supported at a time by kendo telerik grid I get this error every time when I try:
'Uncaught Error: Having both detail template and locked columns is not supported'.
Could you please look into this error. Would you give me an idea, how could I achieve both detail template and frozen columns together in kendo.
http://www.telerik.com/forums/grid-column-locking-with-detail-template
Shankar
As conflicting nature it's not possible in kendo ( or either grid . e.g. Excel sheet too )
http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/6263744-support-row-templates-with-frozen-columns
one probable solution is :
Create two grids side by side. ( left grid for frozen column , right grid for details columns ) you can use same dataSource for both the grid .
Make div size fixed so user cannot scroll on left grid .
hide those repeating columns in Right grid.
add one more extra expand button column in left grid.
on click of expand button of left grid, expand appropriate right side detail row.
i know this is not actual solution with kendo and lots of code work around, but using jquery, tricks you can at least achieve up to certain level.
=> if you have any solution then please share it here sankar. looks like this is old post .
Please find my sample project in the attachment. i have also included the database script for the project
http://www.4shared.com/get/5pSvIMoX/testRadGrid.html
I'm trying to do a simple radgrid bind. i've done it with two pages.
please see default.aspx - the column filter options are showed when i click on the filter icon as i expected but in search.aspx i'm binding through a database data source then the column filtering options (contains, equals...) are not shown.
error is shown in the console.
Uncaught TypeError: Cannot set property 'control' of undefined
Please let me know whats wrong with search.aspx radgrid column filtering
Can anybody suggest me the possibilities to differentiate the filtered Telerik grid column with other columns. Meaning that I can provide different color scheme to differentiate the filtered column.
Thanks
Speaking as someone who has had to deal with the Telerik MVC grid in a similar manner, I will share with you my solution for doing this:
1) Run the web page that has your grid, and view the source.
2) Find out, by viewing the source, what exactly happens when the filter is turned on (i.e. an attribute change, some function being called, etc.).
3) Using jQuery, set the color scheme of that column when that event occurs.
It's rather annoying that you can't just do it using Telerik's control itself, but this should help you out.
I need a grid on an MVC3 Razor page that will have to load by JSON or AJAX call. I need this grid to be editable as well.
Also I need the grid to have the ability to have the first 6-8 columns frozen. I looked at the example on Codeproject.com and I couldnt get it to work. My scrollbars would show up but couldnt get the columns to freeze.
I have been working on this using Telerik grids, but it doesnt have the ability to freeze columns by default in a razor setting.
Does anyone have any suggestions on how to implement this or where I could look for some more information?
Try jQuery EasyUI http://www.jeasyui.com/documentation/datagrid.php
I did initially suggest jqGrid: http://www.trirand.com/blog/
but apparently it's a faff to get frozen columns using it.
I have placed Telerik MVC grid in form.but it it giving me followin problem.
if i edit any row and then click update,then control goes to select method instead of update method of the controller.
can you please suggest me any solution?
Thanks,
Makarand Salvi
The grid is internally generating a tag because it is needed for editing. However nested forms are not supported by any browser. The only solution is to put the grid out of the tag.