Also, checkout the implementation of the Salesforce Reports Tile.
Basically they setup a Wide and Narrow view tile which use the same code, but include an additional configuration to indicate it's wide or narrow.
Joey Levi, Seems like you should be able to get this info from the gadget container/config in the onOpen, but I haven't checked that myself.
Hope this helps,
Hey Joey, I have tried the api you mentioned.
it gives the displayWidth as the return parameter, but the value is 'allowed displaywidth' which you would have mentioned in the definition.json and not the current tile column width.
Joey, yes but I wanted to get inside jive.onOpen method using jive.tile.*.
Scott, I think onOpen method returns the config you'd set while configuring the tile and not the in-built config.
I am referring to Re: Where are the jive.tile.* functions documented