Layout and Portlets

It is easy to create portlet views in ‘rows’ and ‘cols’ collections of a layout view. But how can I obtain the current position of all portlets within the layout (e.g. after a user has dragged and moved portlets around)? Sorry to ask, I must be overlooking something, but I can’t find a method of ‘layout’ that returns the current state of its ‘rows’ and ‘cols’ collections.

We have a solution for the similar needs. Here it is:

http://webix.com/snippet/f5fc30b1

Using this custom layout, you can get its current state and the order of the inner elements and completely restore them.

hi Listopad, Thank you as always!