How to remove unnecessary columns in a DataGridView?

How to remove a specific column from the control DataGridViewshown in the picture?

+3
source share
1 answer

This particular column is called the row header . Its purpose is to allow the user to select the entire row with one click and indicate which row is currently selected.

You can hide it by setting the control RowHeadersVisiblepropertyDataGridView to False.

+3
source

Source: https://habr.com/ru/post/1796610/


All Articles