Drag and drop between dashboard elements – Xlinesoft Blog


In this article we will show how you can implement drag-n-drop between two dashboard elements. It makes more sense to drag and drop records between the two grids. In this example we will use two named tables order And archive_orders.

This is what it looks like in the resulting app:


1. SQL query that creates the required tables in the database

2. Create a dashboard in PHPRunner or ASPRunner.NET and add both tables there.

3. The following code goes to the second Javascript OnLoad event order And archive_orders Table list page.

Things that need to be changed:
– var connectTable must contain the name of another table. In the order the table code should say “orders_archive” and vice versa.
– URL “dashboard_dashboard.php” of the dashboard page. In ASPRunner.NET it will be like this dashboard
– “OrderID” – key column name of the current table.

4. Dashboard page: BeforeProcess event

In this event we add a new record to the target table and delete the same record in the source table. The second part of the code helps us update the sort order

PHP code

C# code

Enjoy!



Teknologi Terkini

Agen Togel Terpercaya

Bandar Togel

Sabung Ayam Online

Berita Terkini

Artikel Terbaru

Berita Terbaru

Penerbangan

Berita Politik

Berita Politik

Software

Software Download

Download Aplikasi

Berita Terkini

News

Jasa PBN

Jasa Artikel

News

Breaking News

Berita