Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
methods:{
GetRows:function(){
alert('The row data count is : '+ this.$refs.grid.$el.ej2_instances[0].currentViewData.length);
},
Setcell:function(){
this.$refs.grid.$el.ej2_instances[0].setCellValue(this.$refs.grid.$el.ej2_instances[0].currentViewData[0].OrderID,'CustomerID','Changed value');
alert("changed the first row's second cell value");
}
} |
paging:function(args){
if(this.$refs.grid.$el.ej2_instances[0].allowPaging){
this.$refs.grid.$el.ej2_instances[0].allowPaging = false;
}
else{
this.$refs.grid.$el.ej2_instances[0].allowPaging = true;
}
},
|