Displaying the Data

Displaying data in the grid requires the ability to create rows and columns. These rows and columns need to handle rendering data into a structured display. This display will represent the data grid and typically handle interactive functionality, which in our case will invoke the actions that we are setting in the XML.

Creating a DataRow Object

The DataRow object separates data of matching groups into rows, which will eventually be subdivided into columns. Since the object is a prototype, in order to create and instantiate the object, we need to build a constructor function for the object. As you can see in the constructor function in Listing 13.8, we are passing the five parameters that were used in the DataRow objects ...

Get Ajax for Web Application Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.