Last Row in Data Grid [modified]
-
by default, the datagrid add a pending new row after i have add my own row, the pending row has a * in front of the first column, is there anyway i can disable this pending new row? or is there anyway i could disable the user to add a new row on the datagrid itself?since the dataentry is done by another routine Below is the screenshot http://img.photobucket.com/albums/v608/mjay83/datagrid.jpg[^] -- modified at 3:07 Thursday 2nd November, 2006
-
by default, the datagrid add a pending new row after i have add my own row, the pending row has a * in front of the first column, is there anyway i can disable this pending new row? or is there anyway i could disable the user to add a new row on the datagrid itself?since the dataentry is done by another routine Below is the screenshot http://img.photobucket.com/albums/v608/mjay83/datagrid.jpg[^] -- modified at 3:07 Thursday 2nd November, 2006
hi you can simply set the allowUserToAddRow property of the data grid to false. this will eliminate the row of the * that u don't like and will allow the user of that interface to only view the table and the data in it. hope it hleps if you need more help plz contact me on MSN: jamilaboukhalil@hotmail.com Jamil Abou Khalil
-
hi you can simply set the allowUserToAddRow property of the data grid to false. this will eliminate the row of the * that u don't like and will allow the user of that interface to only view the table and the data in it. hope it hleps if you need more help plz contact me on MSN: jamilaboukhalil@hotmail.com Jamil Abou Khalil
-
Hi Jamil, thanks for reply but i cant find the property u mentioned:doh: i am using VS 2003, please advise ;) Thanks a again:-O
hi sorry i don't know about vs2003 but i am sure that this property is one of the properties of the datagrid of vs2005. I am sorry about that. p.s: u should upgrade to vs2005 it is more relaiable and more friendly and have more functionalities. best regards jamil abou khalil
-
hi sorry i don't know about vs2003 but i am sure that this property is one of the properties of the datagrid of vs2005. I am sorry about that. p.s: u should upgrade to vs2005 it is more relaiable and more friendly and have more functionalities. best regards jamil abou khalil
-
Thanks for reply again It is ok, i dun think my company gonna purchase license for VS 2005 though:rolleyes: Thanks anyway;)
Change you comapny then :rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes:
-
by default, the datagrid add a pending new row after i have add my own row, the pending row has a * in front of the first column, is there anyway i can disable this pending new row? or is there anyway i could disable the user to add a new row on the datagrid itself?since the dataentry is done by another routine Below is the screenshot http://img.photobucket.com/albums/v608/mjay83/datagrid.jpg[^] -- modified at 3:07 Thursday 2nd November, 2006
try to use the read only property of the grid
When you get mad...THINK twice that the only advice Tamimi - Code
-
try to use the read only property of the grid
When you get mad...THINK twice that the only advice Tamimi - Code
-
Thanks for reply again It is ok, i dun think my company gonna purchase license for VS 2005 though:rolleyes: Thanks anyway;)
hi again, i think i have the solution for you. in the columns property of the datagarid you can navigate throught the columns that appear in the datagrid view. and for each column there is some properties on the right hand side of the window that appear when you click on the columns property. there u can set the column to be frozen. this means that the column is read only. tell me if this works ;) best regards jamil abou khalil
-
Hi Tamimi, The Read only mode wont work for me becoz there is some column i would like the user can edit it on the fly.. thanks for reply anyway ;)
trust me, there is no way to do this........... i tried to do this several times with no luck
When you get mad...THINK twice that the only advice Tamimi - Code