[英]Set html cell contents to bold in Flex Table
I want to Set html cell contents to bold in Flex Table. 我想将HTML单元格内容在Flex Table中设置为粗体。
FlexTable myTable = new FlexTable();
myTable.setHTML(1, 0, "Name :");
I want to make the "Name" content as Bold like ' Name ' instead of 'Name' . 我想将“名称”内容设为粗体,例如“ 名称 ”而不是“名称”。 For now it is just displaying as Regular Text.
现在,它只是显示为常规文本。
Can someone help me on this. 有人可以帮我吗
Have you tried: 你有没有尝试过:
FlexTable myTable = new FlexTable(); myTable.setHTML(1, 0, "<b>Name :</b>");
? ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.