TWebDBResponsiveGrid

Hi,

With a TWebDBResponsiveGrid is it possible for each item to have a different ItemTemplate?

What I need to achieve is one of the displayed fields to be in different colours based on a value?

Thanks,

Ken

At this moment not with the template itself but you could manipulate the generated HTML for the item from the event OnItemCreated. There you can have access to the HTML of the item via:

WebdBResponsiveGrid.Items[index].HTML: string;
and modify this HTML dynamically.

Thanks, bit of a fudge but works fine!