MVC5 Classic
Enable Dynamic Data Load

The dynamic data load feature in wijgrid lets you:

This mode is enabled by setting the dynamic option of wijdatasource:

$("#demo").wijgrid({    
$("#demo").wijgrid({        
     ...        
    data: new wijdatasource({            
...            
dynamic: true           
...        
     })        
      ...
});

Data Format when using the Dynamic Data Load Feature

-) Client -> server.

wijgrid passes the following structure to the server in an $.ajax() parameter:

{
filtering: array of { dataKey, filterOperator, filterValue },
paging: { pageIndex, pageSize },
sorting: array of { dataKey, sortDirection }
}

-) Server -> Client.

wijgrid expects (as the wijdatasource.data option) the following structure:

{
rows: array,
totalRows: int 
}

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback