Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Hiding List Grid Content - Not Column though

    Hi all,

    I have 10 list grid fields and they're all checkboxes. I need to hide some of the checkboxes dynamically without hiding the column, is there a way to accomplish this?

    Thanks.

    #2
    If anyone is wondering:

    Code:
    @Override
    protected String getCellCSSText(ListGridRecord record, int rowNum, int colNum )
    {
    	if ( yourCondition)
    		return "display:none";
    	else
    		return super.getCellCSSText(record, rowNum, colNum );
    }

    Comment

    Working...
    X