Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Ultrawingrid checkbox column - how to multiselect the rows on ultrawingrid
posted

Can anyone please look into the code below and let me know how to enable multiple checkboxes checked and include those rows in grd.selected.rows to loop through the selected rows.

 

private void grdPayVis_InitializeLayout(object sender,InitializeLayoutEventArgs e)   {var gridBand = grdPayVis.DisplayLayout.Bands[0];    

 if(!gridBand.Columns.Exists("Select"))     gridBand.Columns.Add("Select", "Select"); gridBand.Columns["Select"].Header.VisiblePosition = 0; gridBand.Columns["Select"].Hidden = false; gridBand.Columns["Select"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox; gridBand.Columns["Select"].AutoSizeMode = ColumnAutoSizeMode.AllRowsInBand; gridBand.Columns["Select"].CellClickAction = CellClickAction.Edit; }