Add new row in DataGrid

  • Thread starter Thread starter Ruby
  • Start date Start date
R

Ruby

Hi all...

I have a datagrid in web form binded with datasource, and I want to make a
new row whenever I press enter in last row and last column with insert
state.
Is that posible to make that kind of event? :)

Thank alot
Ruby
 
Hi

yes it is possible.
after binding the Datagrid... get the reference of Last col of last row and and the attribute for the event when keypress.
and in the javascript if the keypress scan code is Enter-Key then post back the form to handle event.

rajeev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top