I have a few groups of columns in my inline grid using columns.Group. I know I can hide these column groups entirely, but I have a dropdown in each row of the grid, and based on what is selected in that dropdown, I am firing a javascript event and examining the selected value. Based on this selected value, I would like to disable or hide these groups of columns in that particular row only! How can I go about doing this?
<p>
//this is where I am firing the event:<br>columns.Bound(p => p.sb).Width(200).ClientTemplate("#= sbchange(sb) #");</p><p></p><p>//this is the js function:</p><p>//can i get the row num passed in as a parameter as well?<br>function sbchange(sb) {</p><p>//i would like to disable columns/fields.of the row where the sb was changed. It's better if i can somehow access the whole column group for that row,</p><p>//so i don't have to go field by field and disable them.</p><p>}</p>