Hello,
I use "inline edition of details in a master list page".
The order of the detail lines is very important in my case so I need a way for the users to re-order the lines of detail.
In the database, I created a column which contains a different number for each line.
I added two buttons to the list page of the detailed rows : "Move-up selected" and "Move-down selected".
When you access this page via the master table list, these buttons appear "inline" near by the [Add new], [Edit selected] & [Delete selected].
The server code of these two buttons updates the database and works well, but after this, I would like the detail rows to be refreshed (=re-sorted).
I cannot refresh the whole page because it closes the "inline detail panel".
Is there a javascript code that I can insert in the "Client After" event of each button to refresh the detail lines?
It should be possible since this subpart of the page is already refreshed when you delete a line.
So I think I just need the part of code used there.
I see in the source code, some functions like "dpInline1.showDPInline" but I don't get anywhere...
Any help appreciated...
Benjamin.