...
Here is an example of config variable:
Code Block |
---|
{ "#adminUserGrid": -> the selector for the grid where this configuration will be applied. In this example the order of the colums is important for us, that is why all of the columns are defined in the desired order { "columns":[ { "id":"targetLanguage", -> column stateId "width":100 },{ "id":"sourceLanguage", "width":100 },{ "id":"roles" },{ "id":"gender" },{ "id":"surName" },{ "id":"email" },{ "id":"login" },{ "id":"firstName" },{ "id":"userGridActionColumn" } ] }, "#adminTaskGrid": -> secound selector for another grid { "columns":[ { "id":"taskName","hidden":true },{ "id":"taskGuid","hidden":true } ] } } |