<?xml version="1.0"?>
<Grid>
   <!-- Cfg tag is splitted by attributes just for comments, you should merge them in your standard applications -->
   <Cfg id='ServerGrouping'/> <!-- Grid identification for saving configuration to cookies -->
   <Cfg Paging='3'/> <!-- Paging set to server, but ChildPaging was let on client -->
   <Cfg PageLength='21'/> <!-- count of rows at one page -->
   <Cfg MaxHeight='1' MinTagHeight='250'/> <!-- Grid maximizes height of the main tag on page -->
   <Cfg MinMidWidth='250'/> <!-- Minimal width for narrow displays -->
   <Cfg Sorting='0' Editing='0' Adding='0' Deleting='0' Dragging='0'/> <!-- Disables other features to demonstrate grouping only -->
   <Cfg GroupMain='Project'/> <!-- Shows grouping tree in column Project -->
   <Cfg Group='Resource'/> <!-- To group grid by Resource for first time (when no configuration saved) -->
   <Cfg ExportLoad='1' PrintLoad='1'/> <!-- Loads all data from server for export to xlsx and for printing -->
   <Cfg ScrollParentHorz='Scroll'/> <!-- Tag id that scrolls grid when set NoHScroll -->
   <Colors Alternate='-10,-10,0' AlternateRepeat='3'/> <!-- Every third row will have different color -->
   <Cols>
      <C Name='Project' Width='250' Type='Text'/>
      <C Name='Resource' Width='130' Type='Text'/>
      <C Name='Week' Width='70' Type='Int'/>
      <C Name='Hours' Width='70' Type='Int'/>
   </Cols>
   <Def>
      <D Name='Group' Expanded='0' ResourceVisible='0' WeekVisible='0' HoursVisible='0'/>
   </Def>
   <Solid>
      <Group id='Group' Space='1' Panel='1'
         Cells='List,Custom'
         List='|Group by none|Group by Project|Group by Resource|Group by Project -> Resource'
         ListCustom='Custom grouping'
         ListWidth='180'
         Cols='||Project|Resource|Project,Resource'
         /> <!-- Grouping row -->
   </Solid>
   <Pager Width='200'/> <!-- Right side pager -->
   <Media>
      <!-- Change for small displays -->
      <M MaxWidth='500'>
         <Cfg Size='Small'/>
         <Cols> <C Name='Project' Width='180'/> <C Name='Week' Width='50'/> <C Name='Hours' Width='50'/> </Cols>
         <Rows> <I id='Group' ListWidth='120' PanelWidth='20'/></Rows>
      </M>
   </Media>
</Grid>
