:: Forum >>

Coloring grid rows.

I Used the functions below to color grid row text. On initial display the grid looks great. When I delete the data reload the grid and refresh, the colors are gone. Why?

ToDoList.defineRowProperty("color",
    function(row) {
        var color = gridData[row][8];
        return color;
    });
ToDoList.getRowTemplate().setStyle("color", function(){return this.getRowProperty("color");});
Paul R.
Monday, February 4, 2008
What is the value of color property after you delete all the data?
Alex (ActiveWidgets)
Monday, February 4, 2008
Sorry,

As usual, you found my over rushed code... The background refresh was putting out data without column 8 colors....
Paul R.
Monday, February 4, 2008

This topic is archived.


Back to support forum

Forum search