Excel-like appearance in the datagrid

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

I'd like to give my users the same "empty grid" look of an Excel sheet (at
least an empty row to start with). I've thought to mimic this appearance by
setting up an empty datatable bound to the grid (columns will be predefined)
and then using AddNew to add the first empty row to the table. Is that the
usual approach or can anyone recommend something better?
 
If you have the rows there, you can just select the respective empty row
instead of AddNew. IF you use AddNew, you may end up with blank rows that
will be included in your Updates which you probably don't want.
 
Thanks Bill. Am I to infer that you would go with this type of scheme to
implement Excel-appearance or do you have a component vendor to recommend?
 
Back
Top