Unplanned
Last Updated: 21 May 2020 10:00 by ADMIN
Anna
Created on: 14 May 2020 13:59
Category: TileLayout
Type: Feature Request
3
TileLayout: resize event should contain new rowSpan and colSpan.

A key feature of the TileLayout widget is the fact that the user can modify the layout. This makes little sense if their changes are lost whenever they close the window.

I want to preserve those changes. It would be helpful if the resize event contained information about the new rowSpan and colSpan of the resized item.

 

1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 21 May 2020 10:00

Hello, Anna,

Thank you very much for the suggestion.

While this item gains popularity, you can obtain the colSpan and rowSpan by using the attribute in the e.item:

      resize: function (e) {
          var colSpan = e.item.css("grid-column-end").split(" ")[1];
          var rowSpan = e.item.css("grid-row-end").split(" ")[1];
          console.log(colSpan,rowSpan);
        }

https://dojo.telerik.com/@bubblemaster/uHareKAB

Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.