bon_t
10-18-2011, 11:17 PM
Hello,
Let's say there are 10 physical rows displayed for the advanceddatagrid, but there is data only in 3 of those rows.
How do I capture the user clicking on the other 7 empty rows?
A colleague said that he recalled seeing a datagrid where you can click on an empty row to add a new row. I Googled this but it seems that you have to add a dummy row with something like "Click to add row" to do this. In essence, someone wrote:
"Usually when appending records to a datagrid you do it through the dataprovider, if you have an editable grid you would add a new blank record to the provider then go to that index location in the datagrid for editing."
I'm not trying to add a new row, but I just want to detect that the user has clicked in the empty area of the advanceddatagrid.
Thanks!
Bon :-D
Let's say there are 10 physical rows displayed for the advanceddatagrid, but there is data only in 3 of those rows.
How do I capture the user clicking on the other 7 empty rows?
A colleague said that he recalled seeing a datagrid where you can click on an empty row to add a new row. I Googled this but it seems that you have to add a dummy row with something like "Click to add row" to do this. In essence, someone wrote:
"Usually when appending records to a datagrid you do it through the dataprovider, if you have an editable grid you would add a new blank record to the provider then go to that index location in the datagrid for editing."
I'm not trying to add a new row, but I just want to detect that the user has clicked in the empty area of the advanceddatagrid.
Thanks!
Bon :-D