Hello,
I have custom dropdown template in one column and when enter in edit row mode it disappear showing underlying value in cell,
and when I click editor "done" button cell with template is blank. Although when clicked on that cell the value shows up, but no dropdown anymore. How to make template to be shown all the time?
code is something like this:
pagerRendered: function (evt, ui) { var dataSource = ui.dataSource.recordsForPage(ui.owner.pageIndex()); $.each(dataSource, function (index, row) { $("#grdlist_" + row.ProductID).igCombo({ dataSource: comboData, textKey: "Name", valueKey: "Name", width: "200px", autoComplete: true, enableClearButton: false, initialSelectedItems: [{ index: 0 }] }); }); } } ], rendered: function (evt, ui) { tmpl = "<div id=grdlist_${ProductID}></div>"; $('#grid1').igGrid('setColumnTemplate', 'Name', tmpl); $("#grid").igGrid("dataBind"); }
thanks
Hello Andrew,
I have provided answer to this query in your other forum thread here.
Please have a look at the provided answer and let me know if you need any additional information.