hey all,
so I have this code working in another part of my site but a couple of things have changed…
has anyone experienced issues with the sortItemsBy function? What is happening is that I have a button that switches the order of the contents of the grid. the problem is that it only switches on every second click.
here is the code
column1_btn.onRelease = function () {
if (this.sortDir != "DESC") {
this.sortDir = "ASC";
} else {
this.sortDir = "DESC";
}
this.arrow_mc._rotation += 180;
results_grd.sortItemsBy(column1Title, this.sortDir);
//updateAfterEvent();
}
lemme know,
cheers!
marc