In this article we will show how you can apply Drag-N-Drop between two dashboard elements. It makes more sense to drag and drop notes between two lattice. In this example we will use two tables named order And Orders_archive.
This is how it looks in the application produced:
1. SQL queries that make tables needed in the database
2. Make a dashboard in phprunner or asprunner.net and add two tables there.
3. The following code goes to the Javascript Onload event from both order And Orders_archive Table List Page.
Things to change:
– Var connecttable must contain other table names. In the order The table code must say “Orders_archive” and vice versa.
– “dashboard_dashboard.php” URL from the dashboard page. At asprunner.net it will be something like dashboard
– “Orderid” – The name of the key column of the current table.
4. Dashboard page: Beforeprocess event
In this event we added a new note to the target table and deleted the same thing in the source table. The second part of this code helps us update the order of sort
PHP code
Code C#
Enjoy!
Game Center
Game News
Review Film
Rumus Matematika
Anime Batch
Berita Terkini
Berita Terkini
Berita Terkini
Berita Terkini
review anime