Announcement

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

    listGrid.getCellStyle not working for me

    I am trying to color-code the rows of a grid based on its due date. The code is below.

    I updated the Enterprise Blue skin css. The listgrid section is below. The whole css is too big to attach.

    Code:
    Log.setPriority("Log", 5);
    Log.logDebug("********************** Online.issueGridX.getCellStyle");
    
    	var style = "";
    	if (typeof record.IssueDueDate == "undefined") 	{ style = "cell"; }
    	else {
    		var today = new Date();
    		today.setHours(0,0,0,0); // remove time component
    		Log.logDebug("************* IssueDueDate: " + record.IssueDueDate + " today " + today);
    		if (record.IssueDueDate < today) { style = "overDue"; }
    		else {
    			if (typeof Application.lastMeetingDate == "undefined") { style = "cell"; }
    			else {
    				var nextMeeting = today + ( today - Application.lastMeetingDate);
    				Log.logDebug("************* lastMeetingDate: " + Application.LastMeetingStart + " nextMeeting " + nextMeeting);
    				if (record.IssueDueDate < nextMeeting) { style = "nearlyDue"; }
    				else { style = "cell"; }
    			}
    		}
    	}
    	Log.logDebug("************* returning style: " + style);
    	return style;
    
    Log.logDebug("***END***END***END*** Online.issueGridX.getCellStyle")
    I can see that I am returning a style string that 'should' accomplish what I need. I return "overDue" or "nearlyDue" to change color, and "cell" otherwise.

    Below are the developer log entries to debug it. Instead of a color change, the font changes size. So, I know I am getting called correctly and returning correctly.

    Code:
    15:03:34.734:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.735:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.735:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.737:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.741:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.741:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.742:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.743:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.743:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.744:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.744:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.744:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.745:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.745:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.745:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.746:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.746:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.746:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.747:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.747:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.747:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.748:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.748:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.748:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.748:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.748:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.749:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.749:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.749:RDQ8:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Mon Feb 11 2013 00:00:00 GMT-0500 (Eastern Standard Time)
    15:03:34.749:RDQ8:DEBUG:Log:************* returning style: overDue
    15:03:34.751:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.751:RDQ8:DEBUG:Log:************* returning style: cell
    15:03:34.752:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    15:03:34.752:RDQ8:DEBUG:Log:************* returning style: cell
    15:03:34.752:RDQ8:DEBUG:Log:********************** Online.issueGridX.getCellStyle
    Below is the css section where I made my additions.

    Code:
    /*============================================================
    	ListGrid cells
    		listGrid.baseStyle
    ============================================================*/
    /*------------------------------------------------------------
    		listGrid.baseStyle
    ------------------------------------------------------------*/
    .cell,
    .cellDark,
    .cellOver,
    .cellOverDark,
    .cellSelected,
    .cellSelectedDark,
    .cellSelectedOver,
    .cellSelectedOverDark,
    .cellDisabled,
    .cellDisabledDark,
    .tallCell,
    .tallCellDark,
    .tallCellOver,
    .tallCellOverDark,
    .tallCellSelected,
    .tallCellSelectedDark,
    .tallCellSelectedOver,
    .tallCellSelectedOverDark,
    .tallCellDisabled,
    .tallCellDisabledDark,
    .gridSummaryCell,
    .gridSummaryCellDisabled,
    .recordSummaryCell,
    .recordSummaryCellDark,
    .recordSummaryCellOver,
    .recordSummaryCellOverDark,
    .recordSummaryCellSelected,
    .recordSummaryCellSelectedDark,
    .recordSummaryCellSelectedOver,
    .recordSummaryCellSelectedOverDark,
    .recordSummaryCellDisabled,
    .recordSummaryCellDisabledDark,
    .expansionCellCell,
    .expansionCellCellDark,
    .expansionCellCellOver,
    .expansionCellCellOverDark,
    .expansionCellCellSelected,
    .expansionCellCellSelectedDark,
    .expansionCellCellSelectedOver,
    .expansionCellCellSelectedOverDark,
    .expansionCellCellDisabled,
    .expansionCellCellDisabledDark,
    .specialCol,
    .specialColOver,
    .specialColSelected,
    .specialColSelectedOver,
    .specialColDisabled,
    .groupNode {
      border-top: 1px solid #fafafa;
      border-bottom: 1px solid #f0f0f0;
      color: black;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .specialCol {
      background-color: #fafafa;
      color: black;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .cellDark,
    .recordSummaryCell,
    .recordSummaryCellDark {
      background-color: #fafafa;
    }
    
    .gridSummaryCell,
    .gridSummaryCellDisabled {
      background-color: #f0f0f0;
      border-bottom: 1px solid gray;
      border-top: 1px solid gray;
    }
    
    .tallCellDark {
      background-color: #fafafa;
      border-top: 1px solid #fafafa;
    }
    
    .cellOver,
    .cellOverDark,
    .specialColOver,
    .recordSummaryCellOver,
    .recordSummaryCellOverDark {
      background-color: #c4ddfd;
      background-image: url(./images/ListGrid/row_Over.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #c4ddfd), color-stop(9%, #f0f8ff), color-stop(14%, #e5f3ff), color-stop(86%, #cce5ff), color-stop(100%, #c4ddfd));
      background-image: -webkit-linear-gradient(top, #c4ddfd 0%, #f0f8ff 9%, #e5f3ff 14%, #cce5ff 86%, #c4ddfd 100%);
      background-image: -moz-linear-gradient(top, #c4ddfd 0%, #f0f8ff 9%, #e5f3ff 14%, #cce5ff 86%, #c4ddfd 100%);
      background-image: -o-linear-gradient(top, #c4ddfd 0%, #f0f8ff 9%, #e5f3ff 14%, #cce5ff 86%, #c4ddfd 100%);
      background-image: linear-gradient(top, #c4ddfd 0%, #f0f8ff 9%, #e5f3ff 14%, #cce5ff 86%, #c4ddfd 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#c4ddfd', endColorstr='#cce5ff');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#c4ddfd', endColorstr='#cce5ff')";
    }
    
    .tallCellOver,
    .tallCellOverDark {
      background-color: #dbedff;
      border-top: 1px solid #e8e8e8;
    }
    
    .cellSelected,
    .cellSelectedDark,
    .specialColSelected,
    .recordSummaryCellSelected,
    .recordSummaryCellSelectedDark {
      background: #d6e8ff;
      border-bottom: 1px dotted #9fb7e9;
      border-top: 1px dotted #9fb7e9;
    }
    
    .tallCellSelected,
    .tallCellSelectedDark {
      background: #d6e8ff;
      border-bottom: 1px dotted #9fb7e9;
      border-top: 1px dotted #9fb7e9;
    }
    
    .cellSelectedOver,
    .cellSelectedOverDark,
    .specialColSelectedOver,
    .recordSummaryCellSelectedOver,
    .recordSummaryCellSelectedOverDark {
      background-color: #c4ddfd;
      background-image: url(images/ListGrid/row_Over_Selected.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #c4ddfd), color-stop(4%, #c4ddfd), color-stop(4%, #edf4fd), color-stop(100%, #c4ddfd));
      background-image: -webkit-linear-gradient(top, #c4ddfd 0%, #c4ddfd 4%, #edf4fd 4%, #c4ddfd 100%);
      background-image: -moz-linear-gradient(top, #c4ddfd 0%, #c4ddfd 4%, #edf4fd 4%, #c4ddfd 100%);
      background-image: -o-linear-gradient(top, #c4ddfd 0%, #c4ddfd 4%, #edf4fd 4%, #c4ddfd 100%);
      background-image: linear-gradient(top, #c4ddfd 0%, #c4ddfd 4%, #edf4fd 4%, #c4ddfd 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#c4ddfd');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#c4ddfd')";
      border-bottom: 1px dotted #9fb7e9;
      border-top: 1px dotted #9fb7e9;
    }
    
    .tallCellSelectedOver,
    .tallCellSelectedOverDark {
      background-color: #d0dff6;
      border-bottom: 1px dotted #9fb7e9;
      border-top: 1px dotted #9fb7e9;
    }
    
    .gridSummaryCell,
    .gridSummaryCellDisabled {
      font-weight: bold;
    }
    
    .cellDisabled,
    .cellDisabledDark,
    .specialColDisabled,
    .tallCellDisabled,
    .tallCellDisabledDark,
    .gridSummaryCellDisabled,
    .specialColDisabled,
    .recordSummaryCellDisabled,
    .recordSummaryCellDisabledDark {
      background-color: white;
      color: #ababab;
    }
    
    /* for grouping */
    .groupNode {
      border-bottom: 1px solid #8fa7c7;
      color: #3765a4;
      font-family: Arial, Verdana, sans-serif;
      font-weight: bold;
    }
    
    /*============================================================
    	ListGrid cells
    		listGrid.baseStyle overDue
    ============================================================*/
    /*------------------------------------------------------------
    		listGrid.baseStyle overDue
    ------------------------------------------------------------*/
    .overDueCell,
    .overDueCellDark,
    .overDueCellOver,
    .overDueCellOverDark,
    .overDueCellSelected,
    .overDueCellSelectedDark,
    .overDueCellSelectedOver,
    .overDueCellSelectedOverDark,
    .overDueCellDisabled,
    .overDueCellDisabledDark,
    .overDueTallCell,
    .overDueTallCellDark,
    .overDueTallCellOver,
    .overDueTallCellOverDark,
    .overDueTallCellSelected,
    .overDueTallCellSelectedDark,
    .overDueTallCellSelectedOver,
    .overDueTallCellSelectedOverDark,
    .overDueTallCellDisabled,
    .overDueTallCellDisabledDark,
    .overDueGridSummaryCell,
    .overDueGridSummaryCellDisabled,
    .overDueRecordSummaryCell,
    .overDueRecordSummaryCellDark,
    .overDueRecordSummaryCellOver,
    .overDueRecordSummaryCellOverDark,
    .overDueRecordSummaryCellSelected,
    .overDueRecordSummaryCellSelectedDark,
    .overDueRecordSummaryCellSelectedOver,
    .overDueRecordSummaryCellSelectedOverDark,
    .overDueRecordSummaryCellDisabled,
    .overDueRecordSummaryCellDisabledDark,
    .overDueExpansionCellCell,
    .overDueExpansionCellCellDark,
    .overDueExpansionCellCellOver,
    .overDueExpansionCellCellOverDark,
    .overDueExpansionCellCellSelected,
    .overDueExpansionCellCellSelectedDark,
    .overDueExpansionCellCellSelectedOver,
    .overDueExpansionCellCellSelectedOverDark,
    .overDueExpansionCellCellDisabled,
    .overDueExpansionCellCellDisabledDark,
    .overDueSpecialCol,
    .overDueSpecialColOver,
    .overDueSpecialColSelected,
    .overDueSpecialColSelectedOver,
    .overDueSpecialColDisabled,
    .overDueGroupNode {
      border-top: 1px solid #fafafa;
      border-bottom: 1px solid #f0f0f0;
      background-color: #fdfcc3;
      color: red;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .overDueSpecialCol {
      background-color: #fafafa;
      color: red;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .overDueCellDark,
    .overDueRecordSummaryCell,
    .overDueRecordSummaryCellDark {
      background-color: #fafafa;
    }
    
    .overDueGridSummaryCell,
    .overDueGridSummaryCellDisabled {
      background-color: #f0f0f0;
      border-bottom: 1px solid gray;
      border-top: 1px solid gray;
    }
    
    .overDueTallCellDark {
      background-color: #fafafa;
      border-top: 1px solid #fafafa;
    }
    
    .overDueCellOver,
    .overDueCellOverDark,
    .overDueSpecialColOver,
    .overDueRecordSummaryCellOver,
    .overDueRecordSummaryCellOverDark {
      background-color: #fdc3c3;
      background-image: url(./images/ListGrid/row_Over.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdc3c3), color-stop(9%, #ffcdcd), color-stop(14%, #ffe6e6), color-stop(86%, #fff0f0), color-stop(100%, #fdc3c3));
      background-image: -webkit-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
      background-image: -moz-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
      background-image: -o-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
      background-image: linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fdc3c3', endColorstr='#fff0f0');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fdc3c3', endColorstr='#fff0f0')";
    }
    
    .overDueTallCellOver,
    .overDueTallCellOverDark {
      background-color: #ffdcdd;
      border-top: 1px solid #e9e9e9;
    }
    
    .overDueCellSelected,
    .overDueCellSelectedDark,
    .overDueSpecialColSelected,
    .overDueRecordSummaryCellSelected,
    .overDueRecordSummaryCellSelectedDark {
      background: #ffd7d7;
      border-bottom: 1px dotted #e99f9f;
      border-top: 1px dotted #e99f9f;
    }
    
    .overDueTallCellSelected,
    .overDueTallCellSelectedDark {
      background: #ffd7d7;
      border-bottom: 1px dotted #e99f9f;
      border-top: 1px dotted #e99f9f;
    }
    
    .overDueCellSelectedOver,
    .overDueCellSelectedOverDark,
    .overDueSpecialColSelectedOver,
    .overDueRecordSummaryCellSelectedOver,
    .overDueRecordSummaryCellSelectedOverDark {
      background-color: #fdc3c3;
      background-image: url(images/ListGrid/row_Over_Selected.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdc3c3), color-stop(4%, #fdc3c3), color-stop(4%, #edf4fd), color-stop(100%, #fdc3c3));
      background-image: -webkit-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
      background-image: -moz-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
      background-image: -o-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
      background-image: linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdc3c3');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdc3c3')";
      border-bottom: 1px dotted #e99f9f;
      border-top: 1px dotted #e99f9f;
    }
    
    .overDueTallCellSelectedOver,
    .overDueTallCellSelectedOverDark {
      background-color: #d0dff6;
      border-bottom: 1px dotted #e99f9f;
      border-top: 1px dotted #e99f9f;
    }
    
    .overDueGridSummaryCell,
    .overDueGridSummaryCellDisabled {
      font-weight: bold;
    }
    
    .overDueCellDisabled,
    .overDueCellDisabledDark,
    .overDueSpecialColDisabled,
    .overDueTallCellDisabled,
    .overDueTallCellDisabledDark,
    .overDueGridSummaryCellDisabled,
    .overDueSpecialColDisabled,
    .overDueRecordSummaryCellDisabled,
    .overDueRecordSummaryCellDisabledDark {
      background-color: white;
      color: #ababab;
    }
    
    /* for grouping */
    .overDueGroupNode {
      border-bottom: 1px solid #8fa7c7;
      color: #3765a4;
      font-family: Arial, Verdana, sans-serif;
      font-weight: bold;
    }
    
    /*============================================================
    	ListGrid cells
    		listGrid.baseStyle nearlyDue
    ============================================================*/
    /*------------------------------------------------------------
    		listGrid.baseStyle nearlyDue
    ------------------------------------------------------------*/
    .nearlyDueCell,
    .nearlyDueCellDark,
    .nearlyDueCellOver,
    .nearlyDueCellOverDark,
    .nearlyDueCellSelected,
    .nearlyDueCellSelectedDark,
    .nearlyDueCellSelectedOver,
    .nearlyDueCellSelectedOverDark,
    .nearlyDueCellDisabled,
    .nearlyDueCellDisabledDark,
    .nearlyDueTallCell,
    .nearlyDueTallCellDark,
    .nearlyDueTallCellOver,
    .nearlyDueTallCellOverDark,
    .nearlyDueTallCellSelected,
    .nearlyDueTallCellSelectedDark,
    .nearlyDueTallCellSelectedOver,
    .nearlyDueTallCellSelectedOverDark,
    .nearlyDueTallCellDisabled,
    .nearlyDueTallCellDisabledDark,
    .nearlyDueGridSummaryCell,
    .nearlyDueGridSummaryCellDisabled,
    .nearlyDueRecordSummaryCell,
    .nearlyDueRecordSummaryCellDark,
    .nearlyDueRecordSummaryCellOver,
    .nearlyDueRecordSummaryCellOverDark,
    .nearlyDueRecordSummaryCellSelected,
    .nearlyDueRecordSummaryCellSelectedDark,
    .nearlyDueRecordSummaryCellSelectedOver,
    .nearlyDueRecordSummaryCellSelectedOverDark,
    .nearlyDueRecordSummaryCellDisabled,
    .nearlyDueRecordSummaryCellDisabledDark,
    .nearlyDueExpansionCellCell,
    .nearlyDueExpansionCellCellDark,
    .nearlyDueExpansionCellCellOver,
    .nearlyDueExpansionCellCellOverDark,
    .nearlyDueExpansionCellCellSelected,
    .nearlyDueExpansionCellCellSelectedDark,
    .nearlyDueExpansionCellCellSelectedOver,
    .nearlyDueExpansionCellCellSelectedOverDark,
    .nearlyDueExpansionCellCellDisabled,
    .nearlyDueExpansionCellCellDisabledDark,
    .nearlyDueSpecialCol,
    .nearlyDueSpecialColOver,
    .nearlyDueSpecialColSelected,
    .nearlyDueSpecialColSelectedOver,
    .nearlyDueSpecialColDisabled,
    .nearlyDueGroupNode {
      border-top: 1px solid #fafafa;
      border-bottom: 1px solid #f0f0f0;
      background-color: #fffa41;
      color: black;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .nearlyDueSpecialCol {
      background-color: #fafafa;
      color: black;
      font-family: Arial, Verdana, sans-serif;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    
    .nearlyDueCellDark,
    .nearlyDueRecordSummaryCell,
    .nearlyDueRecordSummaryCellDark {
      background-color: #fafafa;
    }
    
    .nearlyDueGridSummaryCell,
    .nearlyDueGridSummaryCellDisabled {
      background-color: #f0f0f0;
      border-bottom: 1px solid gray;
      border-top: 1px solid gray;
    }
    
    .nearlyDueTallCellDark {
      background-color: #fafafa;
      border-top: 1px solid #fafafa;
    }
    
    .nearlyDueCellOver,
    .nearlyDueCellOverDark,
    .nearlyDueSpecialColOver,
    .nearlyDueRecordSummaryCellOver,
    .nearlyDueRecordSummaryCellOverDark {
      background-color: #fdfcc3;
      background-image: url(./images/ListGrid/row_Over.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfcc3), color-stop(9%, #ffffcd), color-stop(14%, #ffffe6), color-stop(86%, #fffff0), color-stop(100%, #fdfcc3));
      background-image: -webkit-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
      background-image: -moz-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
      background-image: -o-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
      background-image: linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fdfcc3', endColorstr='#fffff0');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fdfcc3', endColorstr='#fffff0')";
    }
    
    .nearlyDueTallCellOver,
    .nearlyDueTallCellOverDark {
      background-color: #fffedc;
      border-top: 1px solid #e9e9e9;
    }
    
    .nearlyDueCellSelected,
    .nearlyDueCellSelectedDark,
    .nearlyDueSpecialColSelected,
    .nearlyDueRecordSummaryCellSelected,
    .nearlyDueRecordSummaryCellSelectedDark {
      background: #fffdd7;
      border-bottom: 1px dotted #e9e69f;
      border-top: 1px dotted #e9e69f;
    }
    
    .nearlyDueTallCellSelected,
    .nearlyDueTallCellSelectedDark {
      background: #fffdd7;
      border-bottom: 1px dotted #e9e69f;
      border-top: 1px dotted #e9e69f;
    }
    
    .nearlyDueCellSelectedOver,
    .nearlyDueCellSelectedOverDark,
    .nearlyDueSpecialColSelectedOver,
    .nearlyDueRecordSummaryCellSelectedOver,
    .nearlyDueRecordSummaryCellSelectedOverDark {
      background-color: #fdfcc3;
      background-image: url(images/ListGrid/row_Over_Selected.png);
      background-repeat: repeat-x;
      background-position: bottom left;
      background-attachment: scroll;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfcc3), color-stop(4%, #fdfcc3), color-stop(4%, #edf4fd), color-stop(100%, #fdfcc3));
      background-image: -webkit-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
      background-image: -moz-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
      background-image: -o-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
      background-image: linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
      filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdfcc3');
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdfcc3')";
      border-bottom: 1px dotted #e9e69f;
      border-top: 1px dotted #e9e69f;
    }
    
    .nearlyDueTallCellSelectedOver,
    .nearlyDueTallCellSelectedOverDark {
      background-color: #d0dff6;
      border-bottom: 1px dotted #e9e69f;
      border-top: 1px dotted #e9e69f;
    }
    
    .nearlyDueGridSummaryCell,
    .nearlyDueGridSummaryCellDisabled {
      font-weight: bold;
    }
    
    .nearlyDueCellDisabled,
    .nearlyDueCellDisabledDark,
    .nearlyDueSpecialColDisabled,
    .nearlyDueTallCellDisabled,
    .nearlyDueTallCellDisabledDark,
    .nearlyDueGridSummaryCellDisabled,
    .nearlyDueSpecialColDisabled,
    .nearlyDueRecordSummaryCellDisabled,
    .nearlyDueRecordSummaryCellDisabledDark {
      background-color: yellow;
      color: #ababab;
    }
    
    /* for grouping */
    .nearlyDueGroupNode {
      border-bottom: 1px solid #8fa7c7;
      color: #3765a4;
      font-family: Arial, Verdana, sans-serif;
      font-weight: bold;
    }
    
    /*Tree styling*/
    /*------------------------------------------------------------
    		treeGrid.baseStyle
    ------------------------------------------------------------*/
    I wonder if I need to make the string overDueCell or nearlyDueCell. But, the myGrid example does not indicate that. I am missing something.

    Also, I made the changes in the Enterprise Blue skin css. But, if I wanted to use SilverWave, There are no listgrid classes. e.g. there is no .cell entry. So, maybe there is a default and I only need to just add my entries in an appropriate place.

    Any help would be appreciated. Having a row red or yellow would be helpful.

    P.S. I am running SmartClient Version: v8.2p_2013-01-14/EVAL Development Only on Mozilla Firefox 12.0 with Firebug using Windows XP Pro 32 bit.

    #2
    You seem to be expecting that the suffix "Cell" would be added to your styles such as "overDue". It won't be - your actual style name will be used directly.

    Also, you probably want to override getBaseStyle() not getCellStyle(). In the former case, statefulness suffixes like "Over" will be automatically applied. In the latter case, whatever you return is what's used, with no stateful suffixes.

    Comment


      #3
      Thanks for the quick reply. I am still having problems. Not in the docs, but styles appear to be sensitive to whether there is a getBaseStyle method or not, even if it is null.

      Attached are three images. For "no method" there is no method in the XML. This looks normal. This is what I expect normal rows to look like if they have no due date.

      For "null method" there is "<getBaseStyle></getBaseStyle>" in the issueGridX XML declaration. I would expect the result to be like no method, above. But, they are not.

      For the other image the following code is invoked 90 times. There appears to be no difference between overDue, nearlyDue, or normal issues. Plus, the normal issues do not look normal. You can see in the log below that a null value is returned to them. This should let the normalBaseStyle through and be applied, right? The docs say this "applies if ListGrid.baseStyle is set to null". But, isn't that what I am doing?
      Code:
      Log.setPriority("Log", 5);
      Log.logDebug("********************** Online.issueGridX.getBaseStyle");
      
      	var style = "";
      	Log.logDebug("************* getBaseStyle for IssueNumber: " + record.IssueNumber);
      	if (typeof record.IssueDueDate == "undefined") { style = null; }
      	else {
      		var today = new Date();
      		today.setHours(0,0,0,0); // remove time component
      		var dueDate = new Date(record.IssueDueDate);
      		Log.logDebug("************* IssueDueDate: " + record.IssueDueDate + " today " + today);
      		if (dueDate < today) { style = "overDue"; }
      		else {
      			if (typeof Application.lastMeetingDate == "undefined") { style = null; }
      			else {
      				var lastMeetingDate = new Date(Application.lastMeetingDate);
      				Log.logDebug("************* lastMeetingDate: " + Application.lastMeetingDate);
      				var nextMeeting = new Date(today.getTime() + today.getTime() - lastMeetingDate.getTime());
      				Log.logDebug("************* nextMeeting " + nextMeeting);
      				if (dueDate < nextMeeting) { style = "nearlyDue"; }
      				else { style = null; }
      			}
      		}
      	}
      	Log.logDebug("************* returning style: " + style);
      	return style;
      
      Log.logDebug("***END***END***END*** Online.issueGridX.getBaseStyle")
      The development log entries for the getBaseStyle call.

      Code:
      10:12:14.034:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.035:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.035:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.035:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.035:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.035:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.035:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.036:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.040:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.040:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.040:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.040:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.041:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.042:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.042:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.042:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.042:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.042:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.042:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.043:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.043:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.044:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.044:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.044:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.046:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.048:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.049:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.049:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.050:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.050:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.050:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.050:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.051:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.051:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.051:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.051:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.055:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.055:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.055:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.055:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.061:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.062:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.062:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.062:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.062:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.063:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 4
      10:12:14.063:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 01 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.063:RDQ5:DEBUG:Log:************* returning style: overDue
      10:12:14.065:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.065:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.065:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.065:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.065:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.065:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.066:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.066:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.066:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.066:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.066:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.066:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.068:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.069:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.069:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.069:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.069:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.069:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.070:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.070:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.070:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.070:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.070:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.070:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.071:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.071:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.071:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.071:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.071:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.071:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.072:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.072:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.072:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.072:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.072:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.072:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.073:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.073:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.073:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.073:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.074:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.074:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.074:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.074:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.074:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.075:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.075:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.075:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.075:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.075:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.075:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.075:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.076:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.076:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.076:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.076:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 8
      10:12:14.076:RDQ5:DEBUG:Log:************* IssueDueDate: Fri Feb 15 2013 12:00:00 GMT-0500 (Eastern Standard Time) today Tue Feb 12 2013 00:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.076:RDQ5:DEBUG:Log:************* lastMeetingDate: Mon Jan 14 2013 19:00:00 GMT-0500 (Eastern Standard Time)
      10:12:14.076:RDQ5:DEBUG:Log:************* nextMeeting Tue Mar 12 2013 06:00:00 GMT-0400 (Eastern Daylight Time)
      10:12:14.076:RDQ5:DEBUG:Log:************* returning style: nearlyDue
      10:12:14.077:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.077:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.077:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.078:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.078:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.078:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.081:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.081:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.081:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.081:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.082:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.082:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.082:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.082:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.082:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.083:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.083:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.083:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.084:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.084:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.084:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.084:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.084:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.085:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.085:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.085:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.085:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.085:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.085:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 9
      10:12:14.086:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.086:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.086:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.086:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.086:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.087:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.087:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.087:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.087:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.087:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.087:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.087:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.088:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.088:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.088:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.088:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.089:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.089:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.090:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.090:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.090:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.090:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.091:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.091:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.091:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.092:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.092:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.092:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.093:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.093:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 5
      10:12:14.093:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.093:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.093:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.093:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.094:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.094:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.094:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.094:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.094:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.094:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.095:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.095:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.095:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.095:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.095:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.095:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.096:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.096:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.096:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.096:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.096:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.096:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.097:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.097:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.097:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.099:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.099:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.100:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.101:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.101:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 1
      10:12:14.101:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.102:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.102:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.102:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.102:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.102:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.103:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.103:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.103:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.103:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.103:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.103:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.103:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.104:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.104:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.104:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.104:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.104:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.104:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.105:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.105:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.105:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.105:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.105:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.106:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.106:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.106:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.107:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.107:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.107:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 7
      10:12:14.107:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.107:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.107:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.108:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.108:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.110:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.110:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.110:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.111:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.111:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.111:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.111:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.111:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.111:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.112:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.112:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.112:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.112:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.112:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.112:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.112:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.113:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.113:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.113:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.113:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.114:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.114:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.114:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.114:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.114:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 6
      10:12:14.114:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.115:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.115:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.115:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.115:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.115:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.115:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.116:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.116:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.116:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.116:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.116:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.116:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.116:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.117:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.117:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.117:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.117:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.117:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.117:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.117:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.118:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.118:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.118:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.118:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.118:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.118:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.119:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.119:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.119:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 2
      10:12:14.119:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.119:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.119:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.119:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.120:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.120:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.120:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.120:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.120:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.120:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.121:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.121:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.121:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.121:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.121:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.121:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.122:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.122:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.122:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.122:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.122:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.122:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.123:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.123:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.123:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.124:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.124:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.124:RDQ5:DEBUG:Log:************* returning style: null
      10:12:14.125:RDQ5:DEBUG:Log:********************** Online.issueGridX.getBaseStyle
      10:12:14.125:RDQ5:DEBUG:Log:************* getBaseStyle for IssueNumber: 3
      10:12:14.125:RDQ5:DEBUG:Log:************* returning style: null
      Her are the css listgrid cells declarations in TreeFrog. I switched to that from SilverWave. I added overDue and nearlyDue classes. I don't think they are being applied. overDueCell calls for color: red text.

      Code:
      /*============================================================
      	ListGrid cells
      		listGrid.baseStyle
      ============================================================*/
      
      /*------------------------------------------------------------
      		listGrid.baseStyle
      ------------------------------------------------------------*/
      .cell,
      .cellDark,
      .cellOver,
      .cellOverDark,
      .cellSelected,
      .cellSelectedDark,
      .cellSelectedOver,
      .cellSelectedOverDark,
      .cellDisabled,
      .cellDisabledDark,
      .gridSummaryCell,
      .gridSummaryCellDisabled,
      .recordSummaryCell,
      .recordSummaryCellDark,
      .recordSummaryCellOver,
      .recordSummaryCellOverDark,
      .recordSummaryCellSelected,
      .recordSummaryCellSelectedDark,
      .recordSummaryCellSelectedOver,
      .recordSummaryCellSelectedOverDark,
      .recordSummaryCellDisabled,
      .recordSummaryCellDisabledDark,
      .specialCol,
      .specialColOver,
      .specialColSelected,
      .specialColSelectedOver,
      .specialColDisabled,
      .groupNode {
      	font-family:Arial,Bitstream Vera Sans,sans-serif; font-size:11px; text-overflow:ellipsis;
      	color:#333333;
      	border-top:1px solid #ffffff;
      	border-bottom:1px solid #ffffff;
      	background-color:#ffffff;
      }
      
      .specialCol {
      	border-top:1px solid #EFF1F1;
      	border-bottom:1px solid #EFF1F1;
      	background-color:#EFF1F1;
      }
      
      .cellDark,
      .gridSummaryCell,
      .gridSummaryCellDisabled,
      .recordSummaryCell,
      .recordSummaryCellDark {
      	border-top:1px solid #EFF1F1;
      	border-bottom:1px solid #EFF1F1;
      	background-color:#EFF1F1;
      }
      .cellOver,
      .cellOverDark,	
      .specialColOver,
      .recordSummaryCellOver,
      .recordSummaryCellOverDark {
      	border-top:1px solid #D9F7F7;
      	border-bottom:1px solid #D9F7F7;
      	background-color:#D9F7F7;
      }
      .cellSelected,
      .cellSelectedDark,
      .specialColSelected,
      .recordSummaryCellSelected,
      .recordSummaryCellSelectedDark {
      	border-top:1px solid #FAEBB5;
      	border-bottom:1px solid #FAEBB5;
      	background-color:#FAEBB5;
      }
      .cellSelectedOver,
      .cellSelectedOverDark,
      .specialColSelectedOver,
      .recordSummaryCellSelectedOver,
      .recordSummaryCellSelectedOverDark {
      	border-top:1px solid #F8E290;
      	border-bottom:1px solid #F8E290;
      	background-color:#F8E290;
      }
      .cellDisabled,
      .cellDisabledDark,
      .specialColDisabled,
      .gridSummaryCellDisabled,
      .recordSummaryCellDisabled,
      .recordSummaryCellDisabledDark {
      	color:#999999;
      	border-top:1px solid #F6F5DA;
      	border-bottom:1px solid #F6F5DA; 
      	background-color:#F6F5DA;
      }
      
      .gridSummaryCell,
      .gridSummaryCellDisabled {
          font-weight:bold;
      }
        	 
      
      /* for grouping */
      .groupNode {
          font-weight:bold;
      	background-color:#ffffff;
      	border-top:1px solid #ffffff;
          border-bottom: 1px solid #808080;
      }
      
      /* Field builders (Formula/Summary) */
      .sampleOutput {
          border: 2px solid #D9D9D9;
          padding: 3px; 
      }
      
      /* Multi-sort - sort-index appearing next to sort-arrows in field headers */
      .sortNumeral {
          font-size:7px
      }
      
      /*============================================================
      	ListGrid cells
      		listGrid.baseStyle overDue
      ============================================================*/
      
      /*------------------------------------------------------------
      		listGrid.baseStyle overDue
      ------------------------------------------------------------*/
      .overDueCell,
      .overDueCellDark,
      .overDueCellOver,
      .overDueCellOverDark,
      .overDueCellSelected,
      .overDueCellSelectedDark,
      .overDueCellSelectedOver,
      .overDueCellSelectedOverDark,
      .overDueCellDisabled,
      .overDueCellDisabledDark,
      .overDueGridSummaryCell,
      .overDueGridSummaryCellDisabled,
      .overDueRecordSummaryCell,
      .overDueRecordSummaryCellDark,
      .overDueRecordSummaryCellOver,
      .overDueRecordSummaryCellOverDark,
      .overDueRecordSummaryCellSelected,
      .overDueRecordSummaryCellSelectedDark,
      .overDueRecordSummaryCellSelectedOver,
      .overDueRecordSummaryCellSelectedOverDark,
      .overDueRecordSummaryCellDisabled,
      .overDueRecordSummaryCellDisabledDark,
      .overDueSpecialCol,
      .overDueSpecialColOver,
      .overDueSpecialColSelected,
      .overDueSpecialColSelectedOver,
      .overDueSpecialColDisabled,
      .overDueGroupNode {
        border-top: 1px solid #fafafa;
        border-bottom: 1px solid #f0f0f0;
        background-color: #fdfcc3;
        color: red;
        font-family: Arial, Verdana, sans-serif;
        font-size: 11px;
        text-overflow: ellipsis;
      }
      
      .overDueSpecialCol {
        background-color: #fafafa;
        color: red;
        font-family: Arial, Verdana, sans-serif;
        font-size: 11px;
        text-overflow: ellipsis;
      }
      
      .overDueCellDark,
      .overDueRecordSummaryCell,
      .overDueRecordSummaryCellDark {
        background-color: #fafafa;
      }
      
      .overDueGridSummaryCell,
      .overDueGridSummaryCellDisabled {
        background-color: #f0f0f0;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
      }
      
      .overDueTallCellDark {
        background-color: #fafafa;
        border-top: 1px solid #fafafa;
      }
      
      .overDueCellOver,
      .overDueCellOverDark,
      .overDueSpecialColOver,
      .overDueRecordSummaryCellOver,
      .overDueRecordSummaryCellOverDark {
        background-color: #fdc3c3;
        background-image: url(./images/ListGrid/row_Over.png);
        background-repeat: repeat-x;
        background-position: bottom left;
        background-attachment: scroll;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdc3c3), color-stop(9%, #ffcdcd), color-stop(14%, #ffe6e6), color-stop(86%, #fff0f0), color-stop(100%, #fdc3c3));
        background-image: -webkit-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
        background-image: -moz-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
        background-image: -o-linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
        background-image: linear-gradient(top, #fdc3c3 0%, #ffcdcd 9%, #ffe6e6 14%, #fff0f0 86%, #fdc3c3 100%);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fdc3c3', endColorstr='#fff0f0');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fdc3c3', endColorstr='#fff0f0')";
      }
      
      .overDueCellSelected,
      .overDueCellSelectedDark,
      .overDueSpecialColSelected,
      .overDueRecordSummaryCellSelected,
      .overDueRecordSummaryCellSelectedDark {
        background: #ffd7d7;
        border-bottom: 1px dotted #e99f9f;
        border-top: 1px dotted #e99f9f;
      }
      
      .overDueCellSelectedOver,
      .overDueCellSelectedOverDark,
      .overDueSpecialColSelectedOver,
      .overDueRecordSummaryCellSelectedOver,
      .overDueRecordSummaryCellSelectedOverDark {
        background-color: #fdc3c3;
        background-image: url(images/ListGrid/row_Over_Selected.png);
        background-repeat: repeat-x;
        background-position: bottom left;
        background-attachment: scroll;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdc3c3), color-stop(4%, #fdc3c3), color-stop(4%, #edf4fd), color-stop(100%, #fdc3c3));
        background-image: -webkit-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
        background-image: -moz-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
        background-image: -o-linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
        background-image: linear-gradient(top, #fdc3c3 0%, #fdc3c3 4%, #edf4fd 4%, #fdc3c3 100%);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdc3c3');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdc3c3')";
        border-bottom: 1px dotted #e99f9f;
        border-top: 1px dotted #e99f9f;
      }
      
      .overDueGridSummaryCell,
      .overDueGridSummaryCellDisabled {
        font-weight: bold;
      }
      
      .overDueCellDisabled,
      .overDueCellDisabledDark,
      .overDueSpecialColDisabled,
      .overDueGridSummaryCellDisabled,
      .overDueSpecialColDisabled,
      .overDueRecordSummaryCellDisabled,
      .overDueRecordSummaryCellDisabledDark {
        background-color: white;
        color: #ababab;
      }
      
      /* for grouping */
      .overDueGroupNode {
        border-bottom: 1px solid #8fa7c7;
        color: #3765a4;
        font-family: Arial, Verdana, sans-serif;
        font-weight: bold;
      }
      
      /*============================================================
      	ListGrid cells
      		listGrid.baseStyle nearlyDue
      ============================================================*/
      /*------------------------------------------------------------
      		listGrid.baseStyle nearlyDue
      ------------------------------------------------------------*/
      .nearlyDueCell,
      .nearlyDueCellDark,
      .nearlyDueCellOver,
      .nearlyDueCellOverDark,
      .nearlyDueCellSelected,
      .nearlyDueCellSelectedDark,
      .nearlyDueCellSelectedOver,
      .nearlyDueCellSelectedOverDark,
      .nearlyDueCellDisabled,
      .nearlyDueCellDisabledDark,
      .nearlyDueGridSummaryCell,
      .nearlyDueGridSummaryCellDisabled,
      .nearlyDueRecordSummaryCell,
      .nearlyDueRecordSummaryCellDark,
      .nearlyDueRecordSummaryCellOver,
      .nearlyDueRecordSummaryCellOverDark,
      .nearlyDueRecordSummaryCellSelected,
      .nearlyDueRecordSummaryCellSelectedDark,
      .nearlyDueRecordSummaryCellSelectedOver,
      .nearlyDueRecordSummaryCellSelectedOverDark,
      .nearlyDueRecordSummaryCellDisabled,
      .nearlyDueRecordSummaryCellDisabledDark,
      .nearlyDueSpecialCol,
      .nearlyDueSpecialColOver,
      .nearlyDueSpecialColSelected,
      .nearlyDueSpecialColSelectedOver,
      .nearlyDueSpecialColDisabled,
      .nearlyDueGroupNode {
        border-top: 1px solid #fafafa;
        border-bottom: 1px solid #f0f0f0;
        background-color: #fffa41;
        color: black;
        font-family: Arial, Verdana, sans-serif;
        font-size: 11px;
        text-overflow: ellipsis;
      }
      
      .nearlyDueSpecialCol {
        background-color: #fafafa;
        color: black;
        font-family: Arial, Verdana, sans-serif;
        font-size: 11px;
        text-overflow: ellipsis;
      }
      
      .nearlyDueCellDark,
      .nearlyDueRecordSummaryCell,
      .nearlyDueRecordSummaryCellDark {
        background-color: #fafafa;
      }
      
      .nearlyDueGridSummaryCell,
      .nearlyDueGridSummaryCellDisabled {
        background-color: #f0f0f0;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
      }
      
      .nearlyDueCellOver,
      .nearlyDueCellOverDark,
      .nearlyDueSpecialColOver,
      .nearlyDueRecordSummaryCellOver,
      .nearlyDueRecordSummaryCellOverDark {
        background-color: #fdfcc3;
        background-image: url(./images/ListGrid/row_Over.png);
        background-repeat: repeat-x;
        background-position: bottom left;
        background-attachment: scroll;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfcc3), color-stop(9%, #ffffcd), color-stop(14%, #ffffe6), color-stop(86%, #fffff0), color-stop(100%, #fdfcc3));
        background-image: -webkit-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
        background-image: -moz-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
        background-image: -o-linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
        background-image: linear-gradient(top, #fdfcc3 0%, #ffffcd 9%, #ffffe6 14%, #fffff0 86%, #fdfcc3 100%);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fdfcc3', endColorstr='#fffff0');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fdfcc3', endColorstr='#fffff0')";
      }
      
      .nearlyDueCellSelected,
      .nearlyDueCellSelectedDark,
      .nearlyDueSpecialColSelected,
      .nearlyDueRecordSummaryCellSelected,
      .nearlyDueRecordSummaryCellSelectedDark {
        background: #fffdd7;
        border-bottom: 1px dotted #e9e69f;
        border-top: 1px dotted #e9e69f;
      }
      
      .nearlyDueCellSelectedOver,
      .nearlyDueCellSelectedOverDark,
      .nearlyDueSpecialColSelectedOver,
      .nearlyDueRecordSummaryCellSelectedOver,
      .nearlyDueRecordSummaryCellSelectedOverDark {
        background-color: #fdfcc3;
        background-image: url(images/ListGrid/row_Over_Selected.png);
        background-repeat: repeat-x;
        background-position: bottom left;
        background-attachment: scroll;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fdfcc3), color-stop(4%, #fdfcc3), color-stop(4%, #edf4fd), color-stop(100%, #fdfcc3));
        background-image: -webkit-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
        background-image: -moz-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
        background-image: -o-linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
        background-image: linear-gradient(top, #fdfcc3 0%, #fdfcc3 4%, #edf4fd 4%, #fdfcc3 100%);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdfcc3');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf4fd', endColorstr='#fdfcc3')";
        border-bottom: 1px dotted #e9e69f;
        border-top: 1px dotted #e9e69f;
      }
      
      .nearlyDueGridSummaryCell,
      .nearlyDueGridSummaryCellDisabled {
        font-weight: bold;
      }
      
      .nearlyDueCellDisabled,
      .nearlyDueCellDisabledDark,
      .nearlyDueSpecialColDisabled,
      .nearlyDueGridSummaryCellDisabled,
      .nearlyDueSpecialColDisabled,
      .nearlyDueRecordSummaryCellDisabled,
      .nearlyDueRecordSummaryCellDisabledDark {
        background-color: yellow;
        color: #ababab;
      }
      
      /* for grouping */
      .nearlyDueGroupNode {
        border-bottom: 1px solid #8fa7c7;
        color: #3765a4;
        font-family: Arial, Verdana, sans-serif;
        font-weight: bold;
      }
      
      /*============================================================
      	12) ToolStrip
      ============================================================*/
      I am perplexed. Normal for a Tuesday.

      Rick
      Attached Files

      Comment


        #4
        I did another test which eliminates one of my problems. I can now make normal issues look normal. I did it by returning "cell" for normal issues. The result is attached. I am getting closer.

        Code:
        Log.setPriority("Log", 5);
        Log.logDebug("********************** Online.issueGridX.getBaseStyle");
        
        	var style = "";
        	Log.logDebug("************* getBaseStyle for IssueNumber: " + record.IssueNumber);
        	if (typeof record.IssueDueDate == "undefined") { style = "cell"; }
        	else {
        		var today = new Date();
        		today.setHours(0,0,0,0); // remove time component
        		var dueDate = new Date(record.IssueDueDate);
        		Log.logDebug("************* IssueDueDate: " + record.IssueDueDate + " today " + today);
        		if (dueDate < today) { style = "overDue"; }
        		else {
        			if (typeof Application.lastMeetingDate == "undefined") { style = "cell"; }
        			else {
        				var lastMeetingDate = new Date(Application.lastMeetingDate);
        				Log.logDebug("************* lastMeetingDate: " + Application.lastMeetingDate);
        				var nextMeeting = new Date(today.getTime() + today.getTime() - lastMeetingDate.getTime());
        				Log.logDebug("************* nextMeeting " + nextMeeting);
        				if (dueDate < nextMeeting) { style = "nearlyDue"; }
        				else { style = "cell"; }
        			}
        		}
        	}
        	Log.logDebug("************* returning style: " + style);
        	return style;
        
        Log.logDebug("***END***END***END*** Online.issueGridX.getBaseStyle")
        I still have a problem with the css: why my styles are not being applied. I will tackle that. I hope I have captured the correct pattern for naming the new classes.

        Problems with null methods I cannot solve anyway.

        Rick
        Attached Files

        Comment


          #5
          Because getBaseStyle is a StringMethod, doing something like this:

          Code:
          <getBaseStyle></getBaseStyle>
          .. sets getBaseStyle to the empty string, which is converted to an empty method (has no logic / returns nothing). This would be expected to break the entire styling system. But of course there's no reason you'd ever do this.

          Note that it's easy to troubleshoot the final style applied - it's the return value of getCellStyle() if you call Super, and it's also visible in the DOM if you use Firebug or a similar tool to inspect the DOM.

          Comment


            #6
            Thanks for the clue. Attached is an image with Firebug looking at the DOM. The td attribute is correct. I changed the class names to avoid problems with over/Over. You can see in the changes in updated code, just below.
            Code:
            Log.setPriority("Log", 5);
            Log.logDebug("********************** Online.issueGridX.getBaseStyle");
            
            	var style = "";
            	Log.logDebug("************* getBaseStyle for IssueNumber: " + record.IssueNumber);
            	if (typeof record.IssueDueDate == "undefined") { style = "cell"; }
            	else {
            		var today = new Date();
            		today.setHours(0,0,0,0); // remove time component
            		var dueDate = new Date(record.IssueDueDate);
            		Log.logDebug("************* IssueDueDate: " + record.IssueDueDate + " today " + today);
            		if (dueDate < today) { style = "ovrdue"; }
            		else {
            			if (typeof Application.lastMeetingDate == "undefined") { style = "cell"; }
            			else {
            				var lastMeetingDate = new Date(Application.lastMeetingDate);
            				Log.logDebug("************* lastMeetingDate: " + Application.lastMeetingDate);
            				var nextMeeting = new Date(today.getTime() + today.getTime() - lastMeetingDate.getTime());
            				Log.logDebug("************* nextMeeting " + nextMeeting);
            				if (dueDate < nextMeeting) { style = "nrlydue"; }
            				else { style = "cell"; }
            			}
            		}
            	}
            	Log.logDebug("************* returning style: " + style);
            	return style;
            
            Log.logDebug("***END***END***END*** Online.issueGridX.getBaseStyle")
            The item is looking for nrlydueSelected. That is correct. And, the css entry for it is in the TreeFrog/skin_styles.css file. I don't think it is being found. Firebug indicates the style attributes being applied are inherited from line 67 of the css file, which defines .normal as a style.

            Code:
            /*------------------------------------------------------------
            		listGrid.baseStyle nrlydue
            ------------------------------------------------------------*/
            .nrlydue,
            .nrlydueDark,
            .nrlydueOver,
            .nrlydueOverDark,
            .nrlydueSelected,
            .nrlydueSelectedDark,
            .nrlydueSelectedOver,
            .nrlydueSelectedOverDark,
            .nrlydueDisabled,
            .nrlydueDisabledDark,
            .nrlydueGridSummaryCell,
            .nrlydueGridSummaryCellDisabled,
            .nrlydueRecordSummaryCell,
            .nrlydueRecordSummaryCellDark,
            .nrlydueRecordSummaryCellOver,
            .nrlydueRecordSummaryCellOverDark,
            .nrlydueRecordSummaryCellSelected,
            .nrlydueRecordSummaryCellSelectedDark,
            .nrlydueRecordSummaryCellSelectedOver,
            .nrlydueRecordSummaryCellSelectedOverDark,
            .nrlydueRecordSummaryCellDisabled,
            .nrlydueRecordSummaryCellDisabledDark,
            .nrlydueSpecialCol,
            .nrlydueSpecialColOver,
            .nrlydueSpecialColSelected,
            .nrlydueSpecialColSelectedOver,
            .nrlydueSpecialColDisabled,
            .nrlydueGroupNode {
            	font-family:Arial,Bitstream Vera Sans,sans-serif; font-size:11px; text-overflow:ellipsis;
            	color:#333333;
            	border-top:1px solid #ffffff;
            	border-bottom:1px solid #ffffff;
            	background-color:#ffff00; /* yellow */
            }
            Of course, I have no guarantee this is the file being searched for my css entries. So, I will run a test for that. But first, my dog needs a walk.

            Rick
            Attached Files

            Comment


              #7
              I fixed this problem by using gzip to make a new skins_styles.css.gz file. I established my new .css file was not being used. I checked in the server log and it did say it was using that file. But, a log entry just above said it was getting it from the css.gz file.

              A new test run indicated my new styles were being used. I just need to fix the colors, now that I can see them in action.

              Thanks. My product is starting to look slick. Amazing, what a little logic-based color can do.

              Thanks for all your prompt attention.

              Rick

              Comment

              Working...
              X