This is a migrated thread and some comments may be shown as answers.

setOptions + locked columns = bug

1 Answer 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bridge24
Top achievements
Rank 1
Iron
Iron
Bridge24 asked on 08 Jun 2015, 03:55 PM

Hi, we use the grid to allow our user to "save" multiple views.  It can hide-show columns, sort it, freeze them, and switch from one to another.

Everything works fine for now, except for the "locked" column option.

If we modify one column locked property, then we call "setOptions" to change the view, after the next "setoptions", we always get a bug when trying to lock/unlock a column, or show-hide a column too.

You can try it: http://dojo.telerik.com/aJoNa/20

If you go from "opt1" to "opt2" in any order, everything is fine, until you pin a column.  

After, when you changing the option, you can't lock/unlock a column, or show-hide one without error.

Is it something I did wrong?

In our application scenario, we also set the datasource.data, datasource.sort with the "columns", when calling the setOptions.  But this demo show that, only with a set of columns and nothing more, I get the bug.

I documented the error I get in the "dojo".

Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 09 Jun 2015, 02:10 PM

Hello Dani,

Thanks for the report. We manged to find the cause for the issue and to address it. The fix will be included in the next internal build. I have also updated your telerik points.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Bridge24
Top achievements
Rank 1
Iron
Iron
Answers by
Rosen
Telerik team
Share this question
or