I'm using SmartClient 8.2.
I've created a tile grid that renders custom tiles. I've done this by creating a class that extends SimpleTile to override the getInnerHTML() function. In the getInnerHTML() function, I reference the record that was passed in. This all works fine when it renders initially.
My problem is that when I mouse over one of these tiles, getInnerHTML() is being called again from a mouse event. When it gets called, the record passed in is null, which results in an error since I'm expecting a record in order to render the content.
My question is: what is the best way to go about doing a custom Tile layout? Clearly the way I'm doing it isn't quite right.
Thanks for your help.
I've created a tile grid that renders custom tiles. I've done this by creating a class that extends SimpleTile to override the getInnerHTML() function. In the getInnerHTML() function, I reference the record that was passed in. This all works fine when it renders initially.
My problem is that when I mouse over one of these tiles, getInnerHTML() is being called again from a mouse event. When it gets called, the record passed in is null, which results in an error since I'm expecting a record in order to render the content.
My question is: what is the best way to go about doing a custom Tile layout? Clearly the way I'm doing it isn't quite right.
Thanks for your help.