grid onchange event

dear support,

i am using the dhtml grid. when i enter the value in the first row first column and then only the new row will can i achive this…which event i can use… give the sample code to add one row in the grid…



The grid provides a rich set of events … rid_api_ev

I’m not sure which one is appropriate in your case, but you can use
next code snippet to implement row adding on Enter key pressing
    if (this.getRowsNum() == (this.getRowIndex(id)+1))
    return true;

As result, pressing of enter key in last row will cause adding of new row.