Set cell image by URL (without css class)
How can I define an image by URL for specific cells using version 2.0 RC1? I have already searched through the forum & docs but couldn't find a suitable example.
obj.setCellImage("test") implies that a corresponding css class "aw-image-test" exists. This is hardly impossible to implement when you have a large number of different images.
The old V1.0 way of defining images does NOT work anyone.
// provide cells and headers text
obj.setDataProperty("text", function(i, j){return myData[i][j]});
obj.setDataProperty("image", function(i, j){return myData[i][4]});
(see http://www.activewidgets.com/examples/grid/images.htm)
Alex, could you please provide an example how to achieve the same functionality in V2.0??
obj.setCellImage("test") implies that a corresponding css class "aw-image-test" exists. This is hardly impossible to implement when you have a large number of different images.
The old V1.0 way of defining images does NOT work anyone.
// provide cells and headers text
obj.setDataProperty("text", function(i, j){return myData[i][j]});
obj.setDataProperty("image", function(i, j){return myData[i][4]});
(see http://www.activewidgets.com/examples/grid/images.htm)
Alex, could you please provide an example how to achieve the same functionality in V2.0??
Tobias
February 6,