Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
maximize a tile in igTilemanager using id from datasource
posted

Hello

I am trying to use the maximizeTile method to maximize a tile after rebinding the datasource.

I have tried iterating through the tiles to find one that contains some text I am looking for, but when I pass this tile as the parameter to maximizeTile, I get a 'object does not support this property or method error.

I cannot reliably use the data index of the tile, as the datasource will have changed.

can anyone help?

Parents
  • 2525
    posted

    Hello,

    Are you referring to the maximize method? This is different from the maximizedTile method as maximizedTile returns a reference to the current maximized tile.

    The maximize method requires the jquery object of the tile method to be passed in which is the DOM element hosting the tile which will require some DOM traversal depending on your use case.

Reply Children