Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #1013393
Add/move rows to specific place
Closed

Comments

  •  2
    Dima started the conversation

    I do not seem to find a way to:

    1) Create new row at specific position, lets say, for example, as first row of table.

    2) Move existing row to another place like higher or lower than it is.

    Thanks

  • [deleted] replied

    Hi Dima,
    Thank you for your purchase.

    The row ordering is done according to the chosen sorting column (first one / wdt_ID by default). You can define a column for positioning (e.g. ‘pos’, as integer, with values 1, 2, 3), and use it as a default sorting column.

  •  2
    Dima replied

    Are you suggesting adding another column with integers as sorting column, and then edit/change the numbers to change positions of rows? Is there no drag and drop interface?

  • [deleted] replied

    Hi Dima,

    Yes I suggest you to add integer sorting column as a workaround because unfortunately we don't have drag and drop feature at this moment.

  •  2
    Dima replied

    Ok, so I did that. It works, not perfect, since if I enter a same number from middle of the table it inserts the row after it, but does not rearrange the numbers. But its manageable.

    My question is, how when creating new row, the number will always be the last + 1 , and then the user may change it if he needs to. But there must be a number and I can't ask the client to llok what is the last rows number and to enter it +1.

    Thanks

  • [deleted] replied

    Hi Dima,

    My question is, how when creating new row, the number will always be the last + 1 , and then the user may change it if he needs to. But there must be a number and I can't ask the client to llok what is the last rows number and to enter it +1.
    Maybe you can try to set auto increment for this number, but if user will change this number then it can mess up this column.