The rows configuration. Accepts the same values as the row option.
Returns:Array
—The current rows configuration.
<script>var dataSource =newkendo.data.PivotDataSource({type:"xmla",transport:{connection:{catalog:"Adventure Works DW 2008R2",cube:"Adventure Works"},read:"https://demos.telerik.com/service/v2/olap/msmdpump.dll"},schema:{type:"xmla"}});
dataSource.rows(["[Date].[Calendar]"]);</script>
<script>var dataSource =newkendo.data.PivotDataSource({type:"xmla",rows:["[Date].[Calendar]"],transport:{connection:{catalog:"Adventure Works DW 2008R2"},read:"https://demos.telerik.com/service/v2/olap/msmdpump.dll"},schema:{type:"xmla"}});var rows = dataSource.rows();/* The result can be observed in the DevTools(F12) console of the browser. */console.log(rows);// [{ name: ["[Date].[Calendar]"] }]</script>