Formatting a dataset without converting into JSON

How do i style a row in a BasicDataset based on its value without converting to json?

Here’s my data -

I have an invisible column ‘IsUsed’. Based on its value (‘Y’ or empty quotes), the row colour should be blue

  • If ‘Y’ - row in blue
  • If ‘ ' - no colour

I do not really want to convert to JSON, because i have a few more functions on the screen which depend on the data source being a dataset.

Thanks

I hope this ignition article could help you out

Yep…Have used this before but my current requirement needs me to style a dataset without converting to any other type

Just use a view cell renderer and apply the style on the view.