i have a simple question actually. I want to swap some columns not with drag and drop but with a script function.
Can i access the method switchCol(x,y) in the flexigrid with javascript ?
like this one?
Code:
$.fn.switchX = function(p,p1){ //create a new method to access switchCol
alert(p+" p1);
return this.switchCol(p,p1);
}
and then with a href i would like to operate the switchX(x,y) method.
like this: