I have seen the convenient way to set badge text on components using a setBadge method.
I need a way to create a badge for non-components. Basically I have a DataView that creates an icon grid from store data. That works fine. But I want to be able to show a badge on some of those icons which are just dom elements. In looking at the generated source, I see that the dataview does not create actual ext components of each of the items, so doesn't seem like there is a setBadge method for me to call on a given item. I tried to do it manually, by setting the class 'x-badge' on one of my divs, but it didn't have any effect.
Any help is appreciated.