Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144370 | May 2,2019 05:39 PM UTC | May 6,2019 07:20 AM UTC | Vue | 3 |
![]() |
Tags: Data Grid |
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;
}
},
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.