The following steps explain how to connect and retrieve the data from SQL Database and then bind the data with pivot grid.
The following code snippet illustrates retrieving the data from SQL database.
After retrieving the data from database, bind it to the pivot grid using the <e-dataSource data> property.
The following screenshot displays a simple pivot grid bounded to data from SQL Database. Here, ‘Country’ field in row, ‘Product’ field in column, and ‘Amount’ field in value are bounded. Check complete code from the sample, which is attached in the following link.
This page will automatically be redirected to the sign-in page in 10 seconds.