<?xml version="1.0"?>
<Grid>
   <Cfg id='User' ShowDeleted="0" AutoSort="1" ColMoving="0" AcceptEnters="1" VarHeight="1" NoFormatEscape='1' MaxHeight='1' SaveAttrs='Choose,Filter' GroupMain='B'/>
   <Colors Alternate='-15,-5,-15'/>
   <Styles UsePrefix='1'/>
   <Def> 
      <D Name='C' CanMove='2'/>
      <D Name='R' BColor='245,255,245' FColor='255,245,245'/>
   </Def>
   <LeftCols>
      <C Name='A' Type='Int'/>
      <C Name='B' Width='120' Type='Text' ToolTip='1'/>
   </LeftCols>
   <Cols>
      <C Name='E' Width='80' Type='Int'/>
      <C Name='F' Width='60' Type='Date' Format='HH:mm' Button='None'/>
      <C Name='G' Width='135' Type='Date' Format='ddd d/M/yyyy' FormatEdit='d/M/yy'/>
      <C Name='H' Width='80' Type='Html' CanEdit='0' CanFocus='0'/>
      <C Name='I' Width='90' Type='Date' Format='=> h:mm tt' Formula='F+E*3600000'/>
   </Cols>
   <RightCols>
      <C Name='C' Width='80' Type='Enum' Enum=';City;Town;Small town;Village'/>
      <C Name='D' Width='80' Type='Float' Format='"#"#########0.##"#"' FormatEdit='0.#####' Button='Button' WidthPad='20' ButtonText='...'/>
   </RightCols>
   <Solid>
      <I id='Choose' Space='0' Class='Group' Cells='FilterLabel,Filter,GroupLabel,Group' CanEdit='0' NoColor='1'
         FilterLabelType='Html'
         FilterLabel='Show'
         FilterLabelWidth='35'
         
         Filter='All' 
         FilterType="Select"
         FilterDefaults="|All|Cities|Towns|Villages|Cities and towns"
         FilterAction="Grid.SearchExpression=choose(null,null,['',
            'Type==0',
            'Type==1 || Type==2',
            'Type==3',
            'Type&lt;=2'
            ]);Grid.SearchRows('Filter')"
         FilterWidth="120" 
         
         GroupLabelType='Html' 
         GroupLabel='Group by' 
         GroupLabelWidth='50' 
         
         GroupType='Select'
         GroupDefaults='|None|Type|Int|Type and Int'
         GroupAction='Grid.GroupRows(choose(null,null,["","C","E","C,E"]),choose(null,null,[null,0,0,0]));'
         GroupFormula='choose(Grid.GroupCols.join(","),["","C","E","C,E"],null,null)'
   
         />
   </Solid>
   <Header 
      A="Index" 
      B="Town" 
      C="Type" 
      D="Number" 
      E="Int" 
      F="Time" 
      G="Date" 
      H="Html" 
      I="Calc"
      Rows="3"
      Main="2"
      Left00Span="3"
      Right00Span="2"
      Mid01="&lt;center>&lt;b style='color:blue;'>TreeGrid Example&lt;/b>&lt;/center>"
      Mid01Span="3"
      Left10="&lt;i>Left columns&lt;/i>"
      Left10Span="3"
      Right10="&lt;div align='right'>&lt;i>Right columns&lt;/i>&lt;/div>"
      Right10Span="2"
      Mid10="&lt;center>&lt;i>Editable columns&lt;/i>&lt;/center>"
      Mid10Span="3"
      Mid11="&lt;center>&lt;i>Non editable columns&lt;/i>&lt;/center>"
      Mid11Span="2"
      />
   <Toolbar Styles="1"/>
</Grid>
