View Full Version : Searching readonly Flag in EditorGridPanel...

1 Feb 2010, 9:50 AM
Hello community!

Iam programming a Gridview with EditorGridPanel. Some users will be able to edit the value in table, for other users is only readonly-access allow. Now I have use a writeable-JSON-Store (JsonWriter) and control the rights on server-site.

Furthermore, I would like to disable the input option on client. I use a trigger on event "EditorGridPanel->beforeedit" and sending "e.cancel=true" when user has readonly-right.

Know anyone a different way, which I can switches easily an editor panel to read-only? (The grid-functionality must be prevent, so that disable it, is not the right way.)

2 Feb 2010, 8:42 AM
Has nobody some idea?