Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • jacks
    Participant

    Hi Peter, Yes, I know how to do that. What I’m asking is how to take an image filename that is a field in the row data and then use that image to set as the css background-image to that filename.

    Every cell will have a unique image.

    An analogy to the example that you provided would be if the color for each cell were provided in a rowData field – this is not possible to do with a single class because the color value changes with each cell. Within some function then I could do:
    $(currentcell).css(“background-color”, rowData[‘color’] )

    is something like this possible?


    jacks
    Participant

    Thanks Peter!
    Will this work if I use createfilterwidget to create my dropdown in the filterrow and then manage the ‘on Select’ events using the API to set the filterconditions property as I like? If not, is there an alternate way to build the dropdown in this location?

    I could put everything in a separate filter panel but much prefer using filter bar placements – (PS I *love* this framework!)

Viewing 2 posts - 1 through 2 (of 2 total)