c# - Best practice to setting default value for GridViewComboBoxColumn (autocomplete) -
hi i'm working on gridviewcomboboxcolumn (which used autocomplete column). i'm wondering if there best practice way set default value there (so new entries set default value)?
when adding new row, radgridview throw defaultvaluesneeded event in order allow specify default values cells in new row. place can set default value combo column well. here example:
void radgridview1_defaultvaluesneeded(object sender, gridviewroweventargs e) { e.row.cells["combocolumn"].value = 5; }
more information can found in telerik ui winforms documentation.
Comments
Post a Comment