Marcel
|
Posted: 11/30/2004, 8:48 AM |
|
Im implementing the autorows sample, how can I...
1. place the cursor in the first field of the next row? I placed the onchange event in the last field of the row,, when the new row is automatically placed, the "focus" goes to the send botton
2. the first field is a "Current Date" field, How can I delete the empty rows? al 30 rows are inserted because all tem have the "Current Date" filed
Thanks in advance
|
|
|
peterr
Posts: 5971
|
Posted: 11/30/2004, 11:20 AM |
|
Hi,
Re: 1
This seems to be done automatically by the Web browser. When I test the example at http://examples.codecharge.com/ExamplePack/EditableGrid...ridAutoRows.php the cursor is always placed on the first field on the next row. For example type something into the last row, select a value from a listbox, then press tab and you will be in the next row.
Re: 2
Do you want the users to modify the Current Date value? If not then change that field to a label. If yes then maybe try using some JavaScript that will populat that field only when users click on it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|