devxlogo

Entering Data into Sheridan SSDataGrid

Entering Data into Sheridan SSDataGrid

Question:
I have a copy of data widgets from sheridan sware and am using the SSDataGrid provided. All i want to do is insert data in the grid at a specified cell as i do with the standard grid ie grid1.text = “textvalue”.

Answer:
For the Sheridan grid, you first need to set the Row property to whatever row you want to be on. Then, you set ColText(col) equal to the text value, where col is the column number you want to insert. This is how you do it if the grid is not bound to a data control. If you bind it to a control, you don’t have to worry about filling in the cells.

devx-admin

Share the Post: