ListGridの特定のセルのフォントと色を変更したいと考えています。
次の行で行全体の色を変更することに成功しましたが、単一の行では変更できませんでした:
for (ListGrid table : tables)
{
ListGridField[] columns = table.getFields();
for (Record record : table.getRecords())
{
....
record.setAttribute("cssText",
"font-weight:bold; font-size:80%; color:#FF3300;");
getCellCSSText 関数を使用したくないので、次のことを試しましたが、うまくいきませんでした:
ListGridField gridfield = table.getField(columns[1].getName());
gridfield.setAttribute("cssText",
"font-weight:bold; font-size:80%; color:#FF3300;");
table.refreshFields();