Hi,
I have the same scenario, where I need to update table element dynamically based on search element result. Where I need to map with search id search_id to manager id of the table to display search result in table. problem here is I need to provide every time new id search_id_table to table element which generates new table instead of updating table.
Do u have any idea regarding this?
search_query = new SearchManager({
"id": search_id,
"status_buckets": 0,
"cancelOnUnload": true,
"search": search_cmd,
"latest_time": "$latest$",
"earliest_time": "$earliest$",
"app": utils.getCurrentApp(),
"auto_cancel": 90,
"preview": true,
"runWhenTimeIsUndefined": false,
"timeout": "10"
}, {tokens: true});
var element1 = new TableElement({
"id": search_id_table,
"drilldown": "row",
"rowNumbers": "undefined",
"wrap": "undefined",
"managerid": search_id,
"el": $('#element1')
}, {tokens: true}).render();
... View more