Hello everyone!
How are you? I hope you can help me!
I want to add a column with a link, to set URL of that link I need to get the value of another column hidden in the grid, How could I do this? I do not want to show the column because it takes up a lot of space. I overwrote the method addColumnLink but the line "this.get("someColumn") does not work if the column is hidden. In this case, the column hidden is "UsrRutaArchivo"
I attached images
Thanks in advance!
King regards!
Ezequiel Gomez!
Like
Dear Ezequirel,
You can call initQueryColumns function in your section schema, so to load all columns. In the function, call addAllColumns you have overridden. In this case, you will be able to access not displayed column in the grid by "this.get("Column"); Please see the example below:
initQueryColumns: function(esq) { this.callParent(arguments); this.addAllColumns(esq); },
Hope you find it helpful.
Regards,
Anastasia