Different clist for each row in grid

Hi,



I want to have a different Clist for different row like.



first row ---- level 1, [n1,n2,n3], col21, col31

second row---- level 2, [n4,n5,n6], col22, col32

third row ---- level 3, [n7,n8,n9], col23, col 33





etc…



Can we do this kind of implementation in CLIST, if not any other solution available for the same?

Please advice.


Hello,


you can use one of the following methods:


1) options are defined in the xml:


n1n1n2n3


2) setting using JS:


grid.loadXML(“grid.xml”,function(){


grid.cells2(0,1).cell._combo = [“n1”,“n2”,“n3”];


grid.cells2(1,1).cell._combo = [“n4”,“n5”,“n6”];


})


Here cells2 method gets row index and column index as the parameters.