Guest
Welcome login


TIBCOmmunity > Products > General Interface > Resources
Home   Members Communities
Conversations () Resources () Blogs ()

Resources

Up to Resources in General Interface

sample : paging matrix table with large data set

VERSION 1 Published

Created on: Jul 6, 2009 3:04 AM by Darren Hwang - Last Modified:  Jul 6, 2009 3:08 AM by Darren Hwang

Data Paging; version 4.0
JSX version: 3.4.0

 

This sample application demonstrates how to page data from a server process into a GI data control, in this case a jsx3.gui.Matrix. The browser is very efficient at managing large XML documents, N > 25,000 records, and less efficient at painting huge amounts of HTML, for example a list with N > 500 rows. In our use case, we imagine a server which can page 500 record data sets from a 25,000 record data source.

 

Look in the Local Data Cache. The XML document, paged_list_xml, is used to hold the data to be displayed in the list. Each time a new page document is accessed from the "server", the records are added to paged_list.xml as a new nested node, and the list is repainted to include only that node (See XSL parameters Palette for the list for implementation). The XML document can grow to > 25,000 records without a noticable drop in rendering performance for the 500 rows on screen.

 

Note that the default Sort behavior of the list needs to be modified when displaying paged data sets. When the header row is clicked, list will sort only the 500 rows of rendered data. When the use case requires the ability to resort the entire 25,000 record data set, the local data document is cleared, and a server process will return the appropriate data set for rendering. This sample app also shows how easily GI applications can be tested independently by mimic the server request and responses.

Attachments:
  • Attachment sample-paging.zip (171.4 K)
  • You are currently not logged in. To be able to access attachments, please login.
Average User Rating
(1 rating)







Jul 8, 2009 6:30 AM Click to view Johan Hoogenboezem's profile Johan Hoogenboezem says:

I was intrigued to note the use of the xsl parameter "jsxshallowfrom" and wondered what other parameters were available and what they could do. However, I found that this particular parameter is undocumented. I wonder what else is undocumented...

More Like This

  • Retrieving data ...