How can I override the dashboard list Name link, OOB functionality is opening its corresponding record but instead of this I want to put some logic and open other page. Where can I override this exact function? Any idea?
Here is the way how you can override the dashboard:
1) Create your custom module that would extend Terrasoft.DashboardListedGridViewModel
Here is an example:
define("UsrDashboardListedGridViewModel", ["ControlGridModule"], function() {
Ext.define("Terrasoft.UsrDashboardListedGridViewModel", {
extend: "Terrasoft.DashboardListedGridViewModel",
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"
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: