JQWidgets jqxGrid: how to get a dropdown from rowcell -


i have jqxgrid dropdown column. now, if in row dropdown item selected, dropdown item should deactivated in following rows.

so, first have rows:

var rows = $('#jqxgridpop').jqxgrid('getboundrows'); 

then cells containing dropdown

for (var = 0; < rows.length; i++) {    var cell = $('#jqxgridpop').jqxgrid('getcell', i, 'languageddl'); 

and then, whit magic, dropdowncontrol cell disable item. i’m stuck..

any hints or not possible? in advance

i became answer on jqwidget forums, here solution:

editor.bind('open', function (event) { var rows = $('#jqxgridpop').jqxgrid('getboundrows'); (var = 0; < rows.length; i++) {     var value = $('#jqxgridpop').jqxgrid('getcellvalue', i, "languagecode");     var item = editor.jqxdropdownlist('getitembyvalue', value);     editor.jqxdropdownlist('disableitem', item); }; }); 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -