Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
How can I load the combobox datasource from column layout on hierarchy grid?
posted

Hello:

I like to know how to load the combobox datasource from column layout in hierarchy grid?
I know that I can do it from a grid with the sample code:

var grid = $("#Grid"), comboDataSource = {}, elementsLookup = [];
comboDataSource = grid.data("igGridUpdating").options.columnSettings[position].editorOptions.dataSource;

for (var i = 0; i < comboDataSource .length; i++) {
elementsLookup [comboDataSource [i].ID] = comboDataSource [i];
}

But I need to do it from a column on the column layout of hierarchy grid.