Drag and drop in datatables - laravel

Hope you are doing well. Kindly help me out here. I am using Yajra data tables in laravel 5.3. I need to implement UI sorting ( drag and drop ), like when showing some records in datatable, i want to change the order of records and then save it back to data base through drag and drop. If there is any package or some useful links, kindly let me know. Thank you.

I don't know much about Yajra, but it looks like it makes Jquery datatables (https://datatables.net/) that seem quite sortable already.
For the drag and drop you might want to have a look at jquery sortable (https://johnny.github.io/jquery-sortable/)
Hope that helps you find the way!

Please check with below link,
http://web1.cs-computing.com/apps/demo/bootstrap/bootstrap_demo.nsf/dnd.xsp
I had tried this and it is working with me. Multiple options are there with drag, drop and sort.

Related

Are there any Backpack for Laravel packages that would allow live AJAX CRUD editing?

I really like the focus on responsive tables Backpack has but are there any ways to edit fields inline in a row or add data inline without a new page or a pop-up modal?
No there are not. There have been PRs over the years, but we consider it’s out of scope at the moment.
I know this is an old question, but this is possible now with Editable Columns, and the feature is quite awesome!

Suitescript loading dropdown in client script

and thanks, I am creating a Suitelet in SS2, I need to filter across three selects on the client side. I was able to load the initial drop-down using 'insertSelectOption' but I cannot select any item. When I choose one it goes back to the blank option. I can't figure out what I am doing wrong. The entire list is loading in the select fine. Any help would be greatly appreciated.
thanks
You can only change the dependent dropdown lists via custom code-added form fields. I'm sure it would help if you were to post your code that you're trying to implement.

Kendo UI Grid Display Blank Columns

i am having an issue with the Telerik Kendo UI grid. When displaying data on it, some blank spaces show up between the columns.
I will have to be very cheap on displaying the bug here, but i think you'll kind of undertand. Example of blank columns the info in the grid its kind of confidential so i cannot show it to you guys, sorry. So instead i will share this image for a little context and explanation.
So, i want to drop those extrange blank columns since they don't actually exists in my model or database. Even without any sort of complete explanation of my problem i have faith that you guys can at least point me into the right direction here, or give me any clue at least, and that's actually all i want and i will be very grateful. Thanks for helping me and have a nice day.
Christian.

Slick Grid Column Selector

Just make sure i'm not reinventing something..
I would like to have a column selector dialog that allows the user to select which columns are shown/hidden. Has anyone done a dialog that working with slickgrid?
Thanks
Yes, example4-model in the SlickGrid download package shows an easy way to implement this. Using this code worked fine for me.

jqGrid Insert New Row Custom

I have looked around and have yet to find a decent answer.
I wish to add a new row into my grid from my own custom button, without using their add buttom or edit forms.
Something like:
$("#grid").jqGrid('insert',{"id","col1","col2"});
I want to be able to programatically insert new rows and not have to use their form.
Any help would be greatly appreciated.
Regards,
Byron
Why do you not use addRowData method (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods)? Do you want do something more as to add the data?

Resources