I need to fill my screen with grid which will be certain size. I don’t need headers just cells.
I know I can use datagridview in c# but I don’t know how to use it correctly.
I need some example for filling full screen with grid, without headers and with possibility of changing height and width of cell.
And is it possible to go trought the cells like cell[9,4], for example.
When form loads I will measure widht and height of the screen and fill it with cells.
Thank you
Set the
Dockingof theDataGridViewtoFillThen set the
ColumnHeadersVisibletoFalseand do the same withRowHeadersVisible(in theAppearancegroup)That should give you a DataGridView that has the full size of its container, and without visible headers.
Programmaticaly this would give you :