Is there a way to fix the size of the tile based on it's position in the tilelayout component?
1 Answer, 1 is accepted
answered on 31 Oct 2020, 08:18 AM
How would you expect such a feature to be exposed? For example, if in OnResized, you could:
use .GetState() to see what tile is in what position (at the moment you can get the state already, identifiers for tiles will likely be implemented here, feel free to join the discussion)
find the tile at the position you want to change and set its ColSpan and RowSpan in the state object you got with the desried values and business logic you have
use .SetState() to set that new state to the tile layout - that's the thing that can't work right now, the tile layout does not re-render in that event, it's purely informational for the developer so you can save the state (see the notes here)
So, if you could perform step 3, would that suffice for you?
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.