dataGridview Question
-
i have a datagridview on a form the single operation i want is that when the data displayed on the gridview the gridview.enabled command must be false but i want the scroll bars to be active i have done the following code datgridview1.enabled = false; but it also locks the scrollbars both vertical and horizontal i want that this must be active sas
-
i have a datagridview on a form the single operation i want is that when the data displayed on the gridview the gridview.enabled command must be false but i want the scroll bars to be active i have done the following code datgridview1.enabled = false; but it also locks the scrollbars both vertical and horizontal i want that this must be active sas
As you can see it doesn't work that way. What is it you are trying to accomplish?
only two letters away from being an asset
-
As you can see it doesn't work that way. What is it you are trying to accomplish?
only two letters away from being an asset
the problem i wanto solve is the datagridview must be locked but its vertical and horizontal scroll bars must be active sas
-
the problem i wanto solve is the datagridview must be locked but its vertical and horizontal scroll bars must be active sas
What do you mean by locked? Don't allow the uses to edit it then.
only two letters away from being an asset
-
What do you mean by locked? Don't allow the uses to edit it then.
only two letters away from being an asset
sir dont u understand my qestion its simple i have written the following code datgridview1.enabled= false; the problem is that the scroll bars are also disabled i want the scroll bars to be active sas
-
sir dont u understand my qestion its simple i have written the following code datgridview1.enabled= false; the problem is that the scroll bars are also disabled i want the scroll bars to be active sas
sajid.salim.khan wrote:
dont u understand my qestion
Apparently not. Again, what is the desired outcome you are looking for? Do you want to display the datagrid to the user with the ability scroll, but without the ability to edit records? If this isn't what you want, perhaps you need to take a few moments to think about it, and describe your problem better.
only two letters away from being an asset
-
sajid.salim.khan wrote:
dont u understand my qestion
Apparently not. Again, what is the desired outcome you are looking for? Do you want to display the datagrid to the user with the ability scroll, but without the ability to edit records? If this isn't what you want, perhaps you need to take a few moments to think about it, and describe your problem better.
only two letters away from being an asset
I you want to display the datagrid to the user with the ability scroll, but without the ability to edit records sas
-
I you want to display the datagrid to the user with the ability scroll, but without the ability to edit records sas
Then don't put it in edit mode :rolleyes: How much simpler can it be? :omg: What don't you understand?
only two letters away from being an asset