This is a migrated thread and some comments may be shown as answers.

Different sizes of items in the same Sortable

1 Answer 36 Views
Sortable
This is a migrated thread and some comments may be shown as answers.
Flemming
Top achievements
Rank 2
Flemming asked on 20 Mar 2019, 01:23 PM

Hi,

 

Is it possible to have different sizes of sortable items within the same sortable component?

[itemStyle] seems to apply to all items, but curious to know if it is possible.

 

/Flemming

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 22 Mar 2019, 07:10 AM
Hi Flemming,

Yes, absolutely! The classes may apply styles that resize the Sortable items depending on their content. Templates can also be used to apply different styles, rendering and dimensions dynamically, based on the item's value or index.

Regards,
Alexander Popov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Sortable
Asked by
Flemming
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
Share this question
or