Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHow to add new set of records for the Live Scroll Grid with Cache widgets?

To add new set of records for the Live Scroll Grid with Cache or Paging Grid widgetwidgets, perform the following steps: 

  1. Specify the env option in the appropriate listener file of the paging grid widget, as shown in the following code snippet: 

    Code Block
    languagejs
    ct.env.options.widget.enableLoadOnScroll=true;


  2. While configuring the app (widget) in App Designer, select the Paging Grid view type. 
  3. The styles should be specified for the paging grid widget, as shown in the following code snippet: 

    Code Block
    languagejs
    [data-widgetid="WGT_BENE"] tbody
    	  {
    	    display:block;
    	    overflow: auto;
    	    height:120px;  // Sample Height 
    	    width:auto;
    	  }
    [data-widgetid="WGT_BENE"] thead tr
    	  {
    	    display:block;
    	    width:auto;
    	  } 
    [data-widgetid="WGT_BENE"] th,td 
          {
    	    width:180px;  // Sample Width
    	  }

    In the aforementioned code snippet, the Widget ID is WGT_BENE

...