Hi Olman,
You can bind data from database using AJAX method in “load” event. Please refer below code snippet.
Code Snippet: [aspx]
|
<ej:PivotGrid ID="PivotGrid1" runat="server" ClientIDMode="Static" EnableGroupingBar="true" PivotTableFieldListID="PivotSchemaDesigner">
<ClientSideEvents Load="onLoad" />
</ej:PivotGrid> |
Code Snippet: [javascript]
|
function onLoad(args) {
args.model.dataSource.data = pivot_dataset;
//Here you can get data from database using AJAX method.
} |
Meanwhile, we have prepared prototype sample. Please find the sample in below link.
Thanks,
Manikandan.