Every cell in the row is editable. My columns are manually created and are not bound to a dataset. When the Grid first loads it does not have anything in it as expected just empty rows and cells.
As soon as the user clicks on a cell I want to go into edit mode. It does not. In fact the grid does not even select the row. The only event that fires is the click event.
This is the first time I have ever tried to enable editing in a cell. Most of the Grids I make are strictly for informational purposes. So I realize this is not an INF problem but a lack of knowledge on my part.
I guess my question is how do I make my cells editable as soon as the grid loads?
Michael Halsig said:Every cell in the row is editable. My columns are manually created and are not bound to a dataset. When the Grid first loads it does not have anything in it as expected just empty rows and cells.
The grid must have a DataSource in order to function. If you don't want to use a DataSet or DataTable, then you can use UltraDataSource or any object that implement IList or IBindingList. If you need the users to be able to add or delete rows, then I recommend using an IBindingList, like UltraDataSource or BindingList<T>. If you don't need adding or removing, then List<T> is probably the most efficient thing to use.
I am using an UltraDataSource. Allow Add and Delete Set to true. Four total columns. Each cell maintainable. I may not be getting my controls setup correctly to allow edit. Not sure this is my first maintainable grid. The only thing I know for sure is that the grid reacts like it is read only. Does a row have to have data in it to be editable?