<Grid>
   <Cfg id="Space Buttons" NoVScroll="1" NoHScroll="1" SuppressCfg="1"/>
   <Cols>
      <C Name="id" Type="Int" CanEdit="0" CanSort="0"/>
      <C Name="EMPTY" Type="Text" Width="450"/>
   </Cols>
   <Body>
      <B>
      </B>
   </Body>
   <Solid>
      <I id="1" Space="4" Kind="Toolbar"
         Cells="CAPTION,Reload,TEXT,BUTTON,ICON,ICONTEXT,ICONTEXT2,DISABLED" 
         CAPTIONType="Html" CAPTION="&amp;nbsp;1 Buttons:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         ReloadType="Button" ReloadTip="Standard Reload button to reload grid"
         TEXTType="Button" TEXT="text" TEXTOnClick="alert('text clicked')" TEXTTip="Clickable HTML button"
         BUTTONType="Button" BUTTONButton="Button" BUTTON="button" BUTTONOnClick="alert('button clicked')" BUTTONTip="Clickable &amp;lt;button>"
         ICONType="Button" ICONIcon="Green.gif" ICONHeight="18" ICONOnClick="alert('Icon clicked')" ICONTip="Clickable image button"
         ICONTEXTType="Button" ICONTEXTIcon="Red.gif" ICONTEXT="icontext" ICONTEXTHeight="18" ICONTEXTOnClick="alert('Icon with text clicked')" ICONTEXTTip="Clickable image button with text"
         ICONTEXT2Type="Button" ICONTEXT2Icon="Yellow.gif" ICONTEXT2IconAlign="Right" ICONTEXT2="icontext2" ICONTEXT2Height="18" ICONTEXT2OnClick="alert('Icon with text 2 clicked')" ICONTEXT2Tip="Clickable image button with text on left side"
         DISABLEDType="Button" DISABLEDIcon="Green.gif" DISABLEDHeight="18" DISABLEDDisabled="1" DISABLED="disabled" DISABLEDOnClick="alert('This button is disabled')" DISABLEDTip="Inactive disabled button"
         />
      <I id="2" Space="4" Calculated="1" CalcOrder="CALCDisabled"
         Cells="CAPTION,SWITCH,SWITCHBTN,SWITCHICON,SWITCHTEXT,ENABLE,CALC,T1,T2,T3"
         CAPTIONType="Html" CAPTION="&amp;nbsp;2 Switches:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         SWITCHType="Button" SWITCHSwitch="1" SWITCH="1" SWITCHButtonText="switch" SWITCHWidth="40" SWITCHOnCheck="alert('switch is on')" SWITCHOnUncheck="alert('switch is off')" SWITCHTip="HTML text switch on/off"
         SWITCHBTNType="Button" SWITCHBTNSwitch="1" SWITCHBTN="0" SWITCHBTNButtonText="switch" SWITCHBTNButton="Button" SWITCHBTNWidth="45" SWITCHBTNOnChange="alert('switch changed')" SWITCHBTNTip="&amp;lt;button> switch on/off"
         SWITCHICONType="Button" SWITCHICONSwitch="1" SWITCHICONIcon="Red.gif" SWITCHICONIconChecked="Green.gif" SWITCHICONHeight="18" SWITCHICONTip="Image switch with different icon for both states"
         SWITCHTEXTType="Button" SWITCHTEXTSwitch="1" SWITCHTEXTIcon="Red.gif" SWITCHTEXTIconChecked="Green.gif" SWITCHTEXT="1" SWITCHTEXTButtonText="switch off" SWITCHTEXTButtonTextChecked="switch on" SWITCHTEXTHeight="18" SWITCHTEXTTip="Image switch with text and different icon and text for both states"
         ENABLEType="Button" ENABLESwitch="1" ENABLEButtonText="disabled" ENABLEButtonTextChecked="enabled" ENABLEWidth="50" ENABLETip="Text switch with different text for both states&lt;br>Controls Disabled value of the next button"
         CALCType="Button" CALCSwitch="1" CALCDisabledFormula="!Row.ENABLE" CALCButtonText="Calc off" CALCButtonTextChecked="Calc on" CALC="1" CALCTip="Text switch with different text for both states&lt;br>Has Disabled value calculated according to state of previous button"
         T1Type="Button" T1ButtonText="radio1" T1Switch="1" T1Radio="1" T1Tip="Radio text switch, the first one in group"
         T2Type="Button" T2ButtonText="radio2" T2Switch="1" T2Radio="1" T2="1" T2Tip="Radio text switch, the second one in group"
         T3Type="Button" T3ButtonText="radio3" T3Switch="1" T3Radio="1" T3Tip="Radio text switch, the third one in group"
         />
      <I id="3" Space="4"
         Cells="CAPTION,LIST,MENU,COMBO,COMBOICONS"
         CAPTIONType="Html" CAPTION="&amp;nbsp;3 Popups:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         LISTType="Button" LIST="list" LISTList="|Green|Yellow|Red" LISTIcons="|Green.gif|Yellow.gif|Red.gif" LISTIconHeight="18" LISTActions="|alert('Selected item Green')|alert('Selected item Yellow')|alert('Selected item Red')" LISTTip="HTML text button with popup menu with icons and actions"
         MENUType="Button" MENU="menu" MENUIcon="Yellow.gif" MENUHeight="18" MENUIconAlign="Right" MENUTip="Image switch with text on left side and custom action with collapsible levels and submenus"
         MENUList="{
               Items:[
                  {Name:'A',Icon:'Green.gif',Height:18,Text:'One',OnClick:function(I){alert('OnClick event - Selected item One');}},
                  {Name:'B',Icon:'Yellow.gif',Height:18,Text:'Two',OnClick:function(I){alert('OnClick event - Selected item Two');}},
                  {Level:1,Name:'3-5',Expanded:0,Items:[
                     {Name:'C',Text:'Three'},
                     {Name:'D',Text:'Four'},
                     {Name:'E',Text:'Five'}
                     ]},
                  {Level:1,Name:'6-7',Expanded:1,Items:[
                     {Name:'F',Text:'Six'},
                     {Name:'G',Text:'Seven'}
                     ]},
                  {Menu:1,Name:'8-9',Items:[
                     {Name:'H',Text:'Eight'},
                     {Name:'I',Text:'Nine'}
                     ]},
                  {Name:'J',Icon:'Red.gif',Height:18,Text:'Ten'}
                  ],OnSave:function(I){alert('OnSave event - Selected item '+I.Text)}
               }"
         COMBOType="Button" COMBOSwitch="1" COMBO="combo" COMBOList="|combo|Green|Yellow|Red" COMBOEmptyValue="combo" COMBOWidth="50" COMBOTip="HTML text combo, selects one value from list"
         COMBOICONSType="Button" COMBOICONSSwitch="1" COMBOICONS="combo icons" COMBOICONSIcon="Yellow.gif" COMBOICONSList="|Green|Yellow|Red" COMBOICONSIcons="|Green.gif|Yellow.gif|Red.gif" COMBOICONSIconHeight="18" COMBOICONSHeight="18" COMBOICONSWidth="85" COMBOICONSTip="Image combo with HTML text"
         />
      <I id="4" Space="4"
         Cells="CAPTION,TEXT,SELECT,DATE,BOOL,RADIO,ENUM,LINES"
         CAPTIONType="Html" CAPTION="&amp;nbsp;4 Other types:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         TEXTType="Text" TEXTWidth="30" TEXT="Text" TEXTTip="Text type in Space row"
         DATEType="Date" DATEWidth="30" DATEEmptyValue="Date" DATEFormat="M/d" DATEEditFormat="M/d" DATETip="Date type in Space row"
         SELECTType="Select" SELECTDefaults="|Select|Green|Yellow|Red" SELECT="Select" SELECTWidth="30" SELECTOnChange="alert('Select changed to '+Value)" SELECTTip="Select type in Space row"
         BOOLType="Bool" BOOLLabelRight="Bool" BOOL="1" BOOLTip="Bool type in Space row" BOOLCanEmpty="1"
         RADIOType="Radio" RADIOEnum="|Radio1|Radio2" RADIOWidth="110" RADIOTip="Radio type in Space row" RADIO="Radio1"
         ENUMType="Enum" ENUMEnum="|Enum|Red|Yellow|Green" ENUM="Enum" ENUMWidth="50" ENUMTip="Enum type in Space row"
         LINESType="Lines" LINESWidth="60" LINESAcceptEnters="1" LINESMaxEditHeight="45" LINES="Lines"  LINESTip="Lines type in Space row"
         />
      <I id="5" Space="5" Kind="Tabber"
         Cells="CAPTION,T1,T2,T3,Sep1,I1,I2,I3,Sep2,R1,R2,R3"
         CAPTIONType="Html" CAPTION="&amp;nbsp;5 Tabber:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         T1Type="Button" T1Button="Tab" T1ButtonText="tab1" T1Switch="1" T1Radio="1" T1="1" T1Tip="HTML text tab, the first one in group"
         T2Type="Button" T2Button="Tab" T2ButtonText="tab2" T2Switch="1" T2Radio="1" T2Tip="HTML text tab, the second one in group"
         T3Type="Button" T3Button="Tab" T3ButtonText="tab3" T3Switch="1" T3Radio="1" T3Tip="HTML text tab, the third one in group"
         Sep1Type="Button" Sep1Button="TabSep"
         I1Type="Button" I1Button="Tab" I1Icon="Red.gif"    I1Switch="1" I1Radio="2" I1Height="18" I1Tip="Image tab, the first one in group"
         I2Type="Button" I2Button="Tab" I2Icon="Yellow.gif" I2Switch="1" I2Radio="2" I2Height="18" I2Tip="Image tab, the second one in group" 
         I3Type="Button" I3Button="Tab" I3Icon="Green.gif"  I3Switch="1" I3Radio="2" I3Height="18" I3="1" I3Tip="Image tab, the third one in group"
         Sep2Type="Button" Sep2Button="TabSep"
         R1Type="Button" R1Button="Tab" R1ButtonText="tab1" R1IconChecked="Green.gif" R1Icon="Red.gif" R1Switch="1" R1Radio="3" R1Height="18" R1Uncheck="1" R1Tip="Image tab with text, the first one in group&lt;br>All tabs can be off"
         R2Type="Button" R2Button="Tab" R2ButtonText="tab2" R2IconChecked="Green.gif" R2Icon="Red.gif" R2Switch="1" R2Radio="3" R2Height="18" R2Uncheck="1" R2="1" R2Tip="Image tab with text, the second one in group&lt;br>All tabs can be off"
         R3Type="Button" R3Button="Tab" R3ButtonText="tab3" R3IconChecked="Green.gif" R3Icon="Red.gif" R3Switch="1" R3Radio="3" R3Height="18" R3Uncheck="1" R3Tip="Image tab with text, the third one in group&lt;br>All tabs can be off"
         />
      <I id="6" Space="-1" Kind="Tabber" Calculated="1" CalcOrder="STYLES,T4Icon"
         Cells="CAPTION,T1,T2,T3,T4,T5,Sep1,Cfg,STYLES"
         CAPTIONType="Html" CAPTION="&amp;nbsp;6 Tabber:" CAPTIONOnClick="alert('Caption clicked')" CAPTIONWrap="0" CAPTIONTip="Inactive caption"
         T1Type="Button" T1Button="Tab" T1Switch="1" T1Radio="1" T1List="|tab1-1|tab1-2|tab1-3" T1EmptyValue="tab1" T1Width="40" T1="tab1" T1Tip="HTML text tab combo"
         T2Type="Button" T2Button="Tab" T2Switch="1" T2Radio="1" T2ButtonText="tab2" T2Width="30" T2="0" T2Tip="HTML text tab, standard switch"
         T3Type="Button" T3Button="Tab" T3Switch="1" T3Radio="1" T3List="|tab3-1|tab3-2|tab3-3" T3Icons="|Green.gif|Yellow.gif|Red.gif" T3EmptyValue="tab3" T3Width="60" T3Height="18" T3="tab3" T3Tip="Image tab combo with HTML text"
         T4Type="Button" T4Button="Tab" T4Switch="1" T4Radio="1" T4List="|tab4-1|tab4-2|tab4-3|tab4-4|tab4-5" T4EmptyValue="tab4" T4Width="60" T4Height="18" T4="tab4" T4IconFormula="Value=='tab4'?'Red.gif':'Green.gif'" T4Tip="HTML text tab combo with icon on/off"
         T5Type="Button" T5Button="Tab" T5Switch="1" T5Radio="1" T5EmptyValue="tab5" T5Width="60" T5Height="18" T5="tab5" T5Tip="Image tab combo with HTML text and custom menu with collapsible levels and submenus"
         T5List="{
               Items:[
                  {Name:'tab5-1',Icon:'Green.gif',Height:18},
                  {Name:'tab5-2',Icon:'Yellow.gif',Height:18},
                  {Level:1,Name:'3-5',Expanded:0,Items:[{Name:'tab5-3',Icon:'none'},{Name:'tab5-4',Icon:'none'},{Name:'tab5-5',Icon:'none'}]},
                  {Level:1,Name:'6-7',Expanded:1,Items:[{Name:'tab5-6',Icon:'none'},{Name:'tab5-7',Icon:'none'}]},
                  {Menu:1,Name:'8-9',Items:[{Name:'tab5-8',Icon:'Green.gif',Height:18},{Name:'tab5-9',Icon:'Red.gif',Height:18}]},
                  {Name:'tab5-10',Icon:'Red.gif',Height:18}
                  ]
               }"
         Sep1Type="Button" Sep1Button="TabSep"
         CfgType="Button" CfgButton="Html" CfgTip="Standard Cfg button to show configuration menu"
         STYLESType="Button" STYLESButton="Html" STYLESSwitch="1" STYLESList="Standard,Light,Office,Modern,Borders,Query,Robust,Plain,Colors" STYLESPopupIcon="2" STYLESTip="Combo to choose TreeGrid style"
         STYLESFormula="{GS:'Standard',GL:'Light',GO:'Office',GM:'Modern',GB:'Borders',GR:'Robust',GP:'Plain',GC:'Colors',GQ:'Query'}[Grid.Style]"
         STYLESOnChange="Grid.SetStyle({Standard:'GS',Light:'GL',Office:'GO',Modern:'GM',Borders:'GB',Robust:'GR',Plain:'GP',Colors:'GC',Query:'GQ'}[Value],0,1)"
         />
   </Solid>
   <Header id="id" EMPTY=""/>
   <Toolbar Visible="0"/>
</Grid>
