Is there a way to turn of the selection of tiles so that they don't come in focus when clicked?
Hello Tammy,
As we have released the RTM version of the Tile Manager few things changed.
The event "tileFocusing" was renamed to "tileMaximizing".
To prevent a tile from being maximized now you can use the event tileMaximizing and return false for the tiles that you wish to remain minimized.
Lets say we instantiate the tile manager on the following markup:
The prevent the maximize of the first tile you can do this:
$('#dashboard').igTileManager({ tileMaximizing: function (event, ui) { if (ui.tile.data('index') === 0) { return false; } }});
The tileMaximizing is called with 2 parameters - event and ui. The tile that was clicked is hold in ui.tile.The tile manager will apply consecutive data-index attributes to each tile, so the first tile will have data-index = 0.We can use that data-index attribute to check whether the clicked tile is the one that we want to prevent from maximizing.
if we want to apply for all tiles. how can we handle if statement.
Please suggest.i dont want perform maximize operation.?
Hello Madhukar Avunoori,
To disable maximize for all tiles always return false like this:
$('#dashboard').igTileManager({ tileMaximizing: function (event, ui) { return false; }});
Sincerely,Daniel
Thank you..
I have requirement like below
i need to display tiles(Eg. Products) based on the cost. if the product cost is more the tile should be big size and vice versa.. and i need to apply colors also if the
product cost is more we should assign bright green, if the product cost is low, we should assign bright red color.. from bright green to bright red..
and all the tiles finally should be in the form of rectangle....finally we can see big rectangle and it contains tiles with different sizes and colors
Please help on this how can i achieve this using Tile-manager..?
Thanks in advance..
Hello Madhukar,
Controlling the display of items based on the datasources value may be achieved by conditionally configuring the items option of the tile manager. Conditional rules may be applied in order to determine which tiles should have a greater span (note that this requires manual calculations with your particular datasource):
http://help.infragistics.com/doc/jQuery/2013.2/CLR4.0/?page=igTileManager_Configuring.html
The documentation article also countains information on configuring tile'smaximizedState and minimizedStatetemplates, which would allow for conditionally styling and coloring of the tiles as needed.
Hope this helps. Please feel free to contact me.