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
105
How to put check box inside a ultrawebgrid v 7.1
posted

can any body tell me hoe to add a chackbox to a perticulat column in a grid

 

the idea is i need to give a grid displaying data and user will check the check box in multiple rows and atlast press save button then i need to save the value as true or false depending upon the checkbox checked.

  • 45049
    Suggested Answer
    posted

    The easiest way to put a checkbox column in your grid is to add a column whose DataType is "System.Boolean".  You may also want to change the column's Type property to CheckBox (Infragistics.Web.UI.UltraWebGrid.ColumnType.Checkbox).  To initialize the checked state for cells in this column, use a value of True for a checked checkbox and False for unchecked.