AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
Dear Friends, 1. How can I hide a column (here for example I dont like to view "cusnum" column in a form at run-time) from DataGrid. 2. How can I change the labels of DataGrid (for example I would like to change "fname" & "lname" to 'First Name' & 'Last Name' Please help me in this regard. ____________________________ user777____________________________Attached: ADO2.zip 36 KB (Downloads: 0)
Your code must be something like this in order to change the column header name of datagrid.
To Hide the column simply set its width to Zero ____________________________ multi-tasking - the ability to hang more than one app. at the same time.
or simply datagrid1.columns(0).visible = false
Hi fren, You can right click on the datagrid and select Properties. In Properties: 1. Select layout, 2. Select the column that you want, 3. Uncheck the visible checkbox Finally, you will hide the column that you do not want...