Hi,
I have two UniContainerPanels with different components. The Layout of the Panel is column. Depending on the situation some of the components has to be switched from one Panel to the other.
How can I change the CreateOrder at runtime.
Best regards
Try.
1. MainForm.Script:
function generateSortFn(props) {
return function (a, b) {
for (var i = 0; i < props.length; i++) {
var prop = props[i];
var name = prop.name;
var reverse = prop.reverse;
if (a[name] < b[name])
return reverse ? 1 : -1;
if (a[name] > b[name])
return reverse ? -1 : 1;
}
return 0;
};
};
2. UniContainerPanel1 (UniAlignmentClient, col