how can i uncheck DevExpress Gridview 's checkbox ? i have a gridview with checkboxes. i need to uncheck all gridview Checkbox. How can i do that?
You can use a list of object with a bool property to bind to the checkbox column.
Column definition : this.gvCheck.ColumnEdit = this.repositoryItemCheckEdit1; this.gvCheck.FieldName = " EstaSeleccionada "; this.gvCheck.Name = "gvCheck"; this.gvCheck.Visible = true; this.gvCheck.VisibleIndex = 0; this.gvCheck.Width = 51;
Property use: seniales.ForEach(s => s. EstaSeleccionada = true/false); gcSeniales.DataSource = new List(); gcSeniales.DataSource = seniales; gcSeniales.Update();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.