I wanted to use the control at the top and bottom of a grid control. However I wanted them to stay in sync. If I went to page 3 at the top control, I wanted the bottom control to also display page 3 as being selected. The forcePage property doesn't really work when you are using it in the beforeUpdate call. I had to revise your code and add a watcher on it like this --
watch: {
forcePage: function (n,o)
{
if (o != n && this.selected != (n-1))
{
this.selected = n - 1;
}
},
},
I wanted to use the control at the top and bottom of a grid control. However I wanted them to stay in sync. If I went to page 3 at the top control, I wanted the bottom control to also display page 3 as being selected. The forcePage property doesn't really work when you are using it in the beforeUpdate call. I had to revise your code and add a watcher on it like this --
watch: { forcePage: function (n,o) { if (o != n && this.selected != (n-1)) { this.selected = n - 1; } }, },