AnsweredAssumed Answered

Paging in a Custom Grid

Question asked by Stephen.Wingert on Oct 29, 2018
Latest reply on Nov 12, 2018 by Stephen.Wingert

Is it possible to setup paging in a custom grid?  I cannot seem to get it working correctly...

 

App.add({
   xtype: 'rallygrid',
   autoscroll: true,
   showPagingToolbar: true,
   showRowActionsColumn: false,
   sortableColumns: true,
   editable: false,
   store: app.myProjects,
      columnCfgs: [
        { text: 'Project',
          dataIndex: 'project',
          width: 300 },
        { text: 'Date Created',
          dataIndex: 'created', 
          width: 150 },
        { text: 'Last Story Updated',
            dataIndex: 'lastupdatedate',
            width: 15},
         { text: 'Parent',
          dataIndex: 'parent',
          width: 200}, 
         { text: 'Workspace',
           dataIndex: 'workspace',
           width: 200},
         { text: 'Direct Children',
           dataIndex: 'children',
            width: 100},
           { text: 'Project Admin 1',
               dataIndex: 'projadmin1',
               width: 150},
            { text: 'Project Admin 2',
                dataIndex: 'projadmin2',
                width: 150},
            { text: 'Project Admin 3',
                dataIndex: 'projadmin3',
                flex: 1 }

         ]
      });

}

Outcomes