Hi
I am using SmartGWT 2.2
I am not able to set background color for the tab.
I have followed one of the threads in this forum and wrote the below code. but it is not working.
HashMap<String, String> map = new HashMap<String,String>();
map.put("backgroundColor","#FF0000");
JavaScriptObject jso = JSOHelper.convertMapToJavascriptObject(map);
TabSet tabbar = new TabSet();
Tab b = new Tab();
b.setTitle("Hello");
b.setAttribute("tabProperties",jso);
tabbar.addTab(b);
Request you to please point out the mistake in code and give a solution for this problem.
Thanks in advance,
Selvam S
I am using SmartGWT 2.2
I am not able to set background color for the tab.
I have followed one of the threads in this forum and wrote the below code. but it is not working.
HashMap<String, String> map = new HashMap<String,String>();
map.put("backgroundColor","#FF0000");
JavaScriptObject jso = JSOHelper.convertMapToJavascriptObject(map);
TabSet tabbar = new TabSet();
Tab b = new Tab();
b.setTitle("Hello");
b.setAttribute("tabProperties",jso);
tabbar.addTab(b);
Request you to please point out the mistake in code and give a solution for this problem.
Thanks in advance,
Selvam S
Comment