Kelie wrote: > Paul McNett <p <at> ulmcnett.com> writes: > >> dGrid is designed to show data, so you specify the number of columns >> using ColumnCount, or you add the columns you want explicitly. >> >> You specify the number of rows by assigning a DataSource or a DataSet to >> the grid, and the grid displays all the rows in the DataSource or >> DataSet. > > Thanks John, Paul. I tried setting RowCount and found out it's readOnly and i > assumed ColumnCount is readOnly as well. but i still have the same question, > can > i insert/delete row from a dGrid object? or i should modify the dataSource and > dGrid will automatically adjust itself?
You insert/delete from/into your DataSet, and then call grid.refresh(). -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
