:: Forum >>

set dynamically setFixedLeft(val)

Hi Alex,

Iam using Active Widgets 2.5.5
I want to setFixedLeft(0) on initial load and later set it to
setFixedLeft(4).

Can you please tell me how to achieve this?

Thanks in Advance.
Ramesh
Wednesday, March 23, 2011

Hi Ramesh

Initial Load you can write ( Assume we are having 4 Columns )

obj.setFixedLeft(0);
obj.setFixedRight(0);
obj.setColumnIndices(0,1,2,3);

After Load ( Assume After some interval ), Write Following code

setTimeForDisplay();
function setTimeForDisplay() {
var timeDelay = setTimeout("timeDisplayMethod();",1000);
}

function timeDisplayMethod() {
obj.setFixedLeft(colFreezingPos+1);
obj.setFixedRight(0);
obj.setColumnIndices(0,1,2,3);
}

Basva
Friday, March 25, 2011

This topic is archived.


Back to support forum

Forum search