Our blazing fast Grid component built with pure JavaScript


Post by notepads »

I understand that Grid is not a table and it's not possible for this having simple implmentations like other table libraries. I read the doc but i don't know where to apply it. I can't find examples of how to use 'IsPaged' or 'PageSize' . Probably i should change the backend with parameters of pagesize and pageParamname?
Is there any way to get all data and pagenate from the frontend?

The code below is a simple example and you can make a simple grid without pagination. How do you apply pagenate here or you only allow for Ajax request with page size ?


        let orderGrid= new bryntum.grid.Grid({
            ref: 'orderGrid',
            appendTo: 'orderGridTable',
        
            store: {
                modelClass: Task,
                readUrl: "api/order/management",
                autoLoad: true, 
            },
             
            rowHeight: 35,
            height: 500,
            data: $scope.orders,
            features: {
                //filterBar: true,
                stripe: true,
                filter: true,
                quickFind: true,
                search: true,
            },
            data: $scope.availableOrders,
            
            columns: $scope.gridColumns,
        });

    }

Post by alex.l »

Hi notepads,

In our Grid Examples page (https://bryntum.com/examples/grid/) you could find a lot of useful things, also pagination examples: https://bryntum.com/examples/grid/paged/ or https://www.bryntum.com/examples/grid/php-paged/

All best,
Alex

All the best,
Alex


Post by notepads »

alex.l wrote: Fri Aug 07, 2020 7:25 am

Hi notepads,

In our Grid Examples page (https://bryntum.com/examples/grid/) you could find a lot of useful things, also pagination examples: https://bryntum.com/examples/grid/paged/ or https://www.bryntum.com/examples/grid/php-paged/

All best,
Alex

awesome man!! I figured out everything and working perfectly.


Post Reply