componentone - CheckBox in Header (Fixed) row of C1.Win.C1FlexGrid grid -


my question "is there way use checkbox inside fixed row cell in c1.win.c1flexgrid?".

i have c1flexgrid 2 fixed rows. (it important mention here using c1.win.c1flexgrid grid , not wpf, or silverlight version)

the first fixed row have used headers usual. second 1 though customized perform other tasks working fine except 1 task can't done. need use checkbox inside 1 cell of cells of second fixed row (just boolean cell in grid's normal rows) because want use checkbox check/uncheck check boxes in same column.

of course setting column datatype bool won't job fixed rows. setting editor of cell checkbox won't editor won't visible @ times when cell selected. also, based on research, there cellfactory property threads discussing can used job, cellfactory not implemented in c1.win.c1flexgrid class in wpf, silverlight , phone versions of grid.

any ideas on how this?

create new cellstyle boolean datatype , set cell need. here’s code implement it, assuming cell in row 1 , column 1:

//implement 2 fixed rows c1flexgrid1.rows.fixed = 2; //create , set new style reqd. cell var cs = c1flexgrid1.styles.add("boolean"); //set datatype cs.datatype = typeof(boolean); //set alignment cs.imagealign = c1.win.c1flexgrid.imagealignenum.centercenter; c1flexgrid1.setcellstyle(1, 1, cs); 

thanks, richa


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -