开发者

don't display value in listgrid

I use smartgwt to display a grid. In the record, i have some data who are true or false. I change de background color 开发者_运维问答in the getBaseStyle method for the listGrid that work well.

Now, i don't want to display the value true or false in the cell.

I can put the text color the same than background, but it's very bad.

Any idea?

thanks


You can add another listGridField to the listGrid whose background color depends on the value of this booleanfield. This field wont have any text to display. Then you hide the boolean field in the listgrid.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜