When using the jscript function as this post http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/client-side-programming/gridcolumn-object/methods/resizetofit- with a editable grid in form type cause "InvalidAccessError: A parameter or an operation is not supported by the underlying object" with build 2017.1.213.40.
The edit mode enables correctly but the form moves near the last columns of the grid, so scrolling is needed to rearch the edit form.
When the script is removed the jscript error disappear but the columns are not visible as the width of each one is too much small.
Is there any other way to auto fit columns? this error did not happen with previous version
6 Answers, 1 is accepted
I tried to reproduce the reported error with the local installation of the local grid demos but to no avail. You can see my test in the following video: https://www.screencast.com/t/DbAaq6t23Uu4.
Can you please upgrade to version 2017.1.228 and test again. Please, also refer to the online examples and try to implement your code in the shown way.
Best regards,
Rumen
Telerik by Progress
Hi Rumen,the error is not visible in your example because the grid is too small, try it with a fixed width grid and add 20 or 25 columns. So when you try to edit the record the edit form appear near the last column of the grid instead of working as adding new record where the edit form appear centered and is not affected by scroll
Hi Victor,
even with 20+ columns, I am unable to repro the issue - https://www.screencast.com/t/gJbHgggg.
Can you modify the example to start showing the problem and send the / for examination?
Regards,Rumen
Telerik by Progress
I removed the custom edit form of the lineked example but still not able to reproduce the problem. It will be really appreciated if you modify the attached sample page up to a point where the problem occurs and send it back so we can examine it further.
Thanks in advance for your cooperation.
Regards,
Vessy
Telerik by Progress