S
Sam
Hi all
Is it possible to remove/disable automatic new row insertion feature in
datagrid control(last row with * on the left)? I'm implementing a datagrid
table which consists of 4 columns and allow user to enter data in row (no
database involved). When it is done, I will populate the data from this
table into an arraylist. Anway, this works greate except when user enters
invalid data in the new row and clicks on the new insertion row( the one
with *), sometimes I have "out of index". I tried to debug but I couldn't
figgure out where my code went wrong. However, if I can control when to
allow user to add a new row to the datagrid, then it would my life much
easier.
My question is: Is it possible to disable the automatic new row insertion
and only add a new row when user click on a button
Regards,
Sam
Is it possible to remove/disable automatic new row insertion feature in
datagrid control(last row with * on the left)? I'm implementing a datagrid
table which consists of 4 columns and allow user to enter data in row (no
database involved). When it is done, I will populate the data from this
table into an arraylist. Anway, this works greate except when user enters
invalid data in the new row and clicks on the new insertion row( the one
with *), sometimes I have "out of index". I tried to debug but I couldn't
figgure out where my code went wrong. However, if I can control when to
allow user to add a new row to the datagrid, then it would my life much
easier.
My question is: Is it possible to disable the automatic new row insertion
and only add a new row when user click on a button
Regards,
Sam