Monday, January 24, 2005

Use JavaScript to create a DataGrid control with inline editing

by Greg Griffiths

“Several of my colleagues have been very busy recently working on all manner of ASP.Net applications and components for use within our company. Recently, they demonstrated a DataGrid control that they had developed that allowed in-line editing (see the MSDN Article). After I had congratulated them on a wonderful control, one of the team commented that this kind of functionality would not be possible using only JavaScript—one of my favorite languages—so I decided to see if that was the case, and this article is the story of my journey.

What Functionality do we need?

Looking at the control they had produced, I was able to identify the following items of functionality that I needed to create to complete my challenge:

  • Populate a table with data via JavaScript.
  • Add sorting functionality.
  • Add inline editing functionality.
  • Add paging functionality.
  • Add functionality to add/delete elements.

http://techrepublic.com.com/5100-6228_11-5533726.html?tag=nl.e103

No comments: