06-20-2018 12:45 AM
Hi,
We would like to know if it is possible remove/hide some elements in the Geospatial Portal Data panel.
For example:
Row actions and contextmenu (see image)
Solved! Go to Solution.
06-22-2018 04:33 AM
Hi Marti,
in order to hide row actions from the Data Panel you can use the $GP.ui.dataView API:
/** * This method allows to hide row action tools by ID including default tools: * - "wc_data_view_properties_link" * - "wc_data_view_clipboard_link" * - "wc_data_view_fit_link" * - "wc_data_view_remove_from_clipboard_link" * - "wc_data_view_remove_from_database_link" * @method hideRowActions * @param {String[]|String} ids IDs of the tools to be hidden * @return {void} */ hideRowActions: function (ids, callback, errback) { this._processRowActions(ids, callback, errback, true); },