Set Title dynamically to a feild

Hi…

Im have a requirement of changing the title of a feild dynamically at the run time, almost i need is to use the “setTitle()” method dyanmically or some other equivalent method for it

Thanks in advance

In what componet? Grids have setFieldTitle().

Set title dynamically for the feilds in Dynamic form

Sorry for the inconvinience, I was asking for setting the for a feild in dynamic form at the runtime dynamically, Not for the Grid

Thanks…

As a workaround, try:

    var f = form.getItem("field");
    f.title="Changed";
    f.redraw();

Set Title dynamically to a feild

Thanks , Its Working