Skip to content
Snippets Groups Projects
Commit b4d19276 authored by juanf's avatar juanf
Browse files

SSDM-2597 : main search fix to use new datagrid interface.

SVN: 37271
parent 6f05258a
No related branches found
No related tags found
No related merge requests found
......@@ -751,7 +751,7 @@ function MainController(profile) {
}
}
var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel);
var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel);
localReference.currentView = dataGrid;
dataGrid.init($("#mainContainer"));
history.pushState(null, "", ""); //History Push State
......@@ -877,7 +877,7 @@ function MainController(profile) {
}
}
var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel);
var dataGrid = new DataGridController(searchDomainLabel + " Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_" + searchDomainLabel);
localReference.currentView = dataGrid;
dataGrid.init($("#mainContainer"));
history.pushState(null, "", ""); //History Push State
......@@ -1048,7 +1048,7 @@ function MainController(profile) {
mainController.changeView('showViewSamplePageFromPermId', e.data.permId);
}
var dataGrid = new DataGridController("Search Results", columns, getDataList, rowClick, true, "SEARCH_OPENBIS");
var dataGrid = new DataGridController("Search Results", columns, [], null, getDataList, rowClick, true, "SEARCH_OPENBIS");
localReference.currentView = dataGrid;
dataGrid.init($("#mainContainer"));
history.pushState(null, "", ""); //History Push State
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment