3.0.0

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.
February 4,
What is the value of color property after you delete all the data?
Alex (ActiveWidgets)
February 4,
Sorry,

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

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.