andyhill Posted September 18, 2018 Share Posted September 18, 2018 I am trying to change TitleButton Icon at runtime with the following code but it paints BLANK instead of icon - please advise - thanks. UniSession.AddJS(GPSmForm.TitleButtons[2].JSName + '.setIconCls("add")'); Link to comment Share on other sites More sharing options...
Sherzod Posted September 19, 2018 Share Posted September 19, 2018 You can try like this: pictos pictos-add UniSession.AddJS(GPSmForm.TitleButtons[2].JSName + '.setIconCls("pictos pictos-add")'); or UniSession.AddJS(GPSmForm.TitleButtons[2].JSName + '.setIconCls("fa fa-plus")'); Link to comment Share on other sites More sharing options...
andyhill Posted September 28, 2018 Author Share Posted September 28, 2018 Failed to change at runtime (1.10.0.1463) Link to comment Share on other sites More sharing options...
Recommended Posts