Does the TileGrid support Hilites? I've been trying to get either the background of the tile to change or the text but have been unsuccessful. I'm trying something simple like this:
Is there something I'm missing to enable Hilites on the TileGrid?
Code:
final TileGrid tileGrid = new TileGrid(); tileGrid.setDataSource(DSConst.ElasticBeanstalk.DATASOURCE); tileGrid.setWidth100(); tileGrid.setHeight100(); tileGrid.setAutoFetchData(true); tileGrid.setInitialCriteria(new AdvancedCriteria(new Criterion(DSConst.ElasticBeanstalk.REGION, OperatorId.IN_SET, new String[] { "us-east-1" }))); final Hilite hilite = new Hilite(); final Criteria criteria = new Criteria(); criteria.addCriteria(DSConst.ElasticBeanstalk.APPLICATION_NAME, "TITAN"); hilite.setCriteria(criteria); hilite.setBackgroundColor("blue"); hilite.setTextColor("blue"); tileGrid.setHilites(new Hilite[] { hilite }); tileGrid.draw();
Comment