Nested header 


The following equipment inventory list example shows this advanced features of the Sigma Grid, including the ability to have nested header as well as sort on nested headers.

One of the new features in this version is the ability to have unlimited levels of nested headers. This allows for presentation of adjacent columns related to each other.
  • Unlimited levels of nested headers.
  • Sort columns by clicking the most nested header.
  • Calculate aggregates on columns both with nested header and with non-nested header.

Code 

{name:"f_status",caption:"Finacial Status",children:[
    {name:"ini_value",caption:"Initial Value",width:80,mode:"number",format:"#",sortable:true},   
  {name:"d_payment",caption:"DownPayment",width:80,mode:"number",format:"#",sortable:true}
]} 

Equipment Inventory

Tips 

If you want to create more than two levels of nested header, you can add more low-level children attribute to column object. Children attribute should be an array of column object with the some defination as its parent.

 


All contents are (c) Copyright 2005 - 2007, Sigma Software Inc. All rights Reserved