Bootstrap 3 column layout drag and drop with JSON Export - javascript

I am new to bootstrap and JqueryUI. I wanted to do simple 3 column layout which needs to have textbox and radiobuttons inside the box and needs to have drag and drop feature. I found a good example:Bootstrap Drag and Drop Gridhttp://jsfiddle.net/vacidesign/uskx816g/ . I have tried this example but drag and drop feature is not working in my local machine. I actually wanted exact similar example with simple textbox and drag and drop feature and on click of the button those information in textbox should be exported as JSON. Please help.
Bootstrap 3 column layout drag and drop with JSON Export
Bootstrap Fiddle Example not working
My System Spec is 4 GB ram,Windows Os,Chrome Browser.
I have included all 6 libraries mentioned in that fiddle example.

Related

How to use drag and drop functionality both columns and rows in my React Table - ReactJS

I have created a table in React Table. I want to add both drag and drop functionality on columns and rows. How can I do this?
Here is my CodeSandbox Sample - https://codesandbox.io/s/2wp7jk23kr
Here I have got a Code Sandbox for drag and drop rows - https://codesandbox.io/s/1844xzjvp7
Here I have got a Code Sandbox for drag and drop columns - https://codesandbox.io/s/5vxlnjrw1n
Being a beginner In React, I'm not able to integrate this three sandboxes. Can someone fork a good example on CodeSandbox on how to add both drag and drop functionality on columns and rows?
Please use my React Table data columns - https://codesandbox.io/s/2wp7jk23kr
It's not that hard to make it, but still no convenient way yet, I had a try and let's see the result in sandbox: https://codesandbox.io/s/quizzical-leakey-o5h8z
Then let's see what's going on in Table.js
1.When you start dragging, you do not know which direction it is going, so I just hide the snippet (by setting it to empty div)
2.When you first drag it into another cell I got to know the direction, and then lock the direction inside dragState.direction
3.When you drag it into an cell (including first time in step 2), you need to show the changed data, like rows = offsetIndex(dragState.row, dragState.dropIndex, rows), notice it is different depends on dragState.direction
4.We highlight the row/column we are dragging, with opacity: ....
5.Finally on dragEnd we notify parent component what have changed
It's not good enough yet, specially when the drag is cancled. So don't rely on these code too much, find your own way based on this idea

AngularJS dynamic form with drag and drop

I want to build a dynamic drag and drop form using angularJs.
this application will have Buttons, images, p, div. i need to drag elements from a tool box to drop html and i need to preview this page.
can any one help me which will be the better plugin for drag and drop in angularJs. i have found some of the plugins, but i need your help for better plugins if any and examples.
http://codef0rmer.github.io/angular-dragdrop/#!/
https://codepen.io/thinhlam/pen/BowEPp
https://github.com/Lane/angular-drag-and-drop
http://ngmodules.org/modules/ngDraggable
AngularJS Drag and Drop plugins and examples

Kendo grid drag and drop not working with less number of records

I have integrated kendo grid in my project with drag and drop functionality. I have issue that when there are no records in one grid then the drop functionality is not working as expected. I have to drop the record to one of the record available to work. I have created a sample for the functionality:
Kendo grid sample
Also, here is the screen shot for the issue:
This is because you are specifying that the kendoDropTarget is on the grid table attribute (which would be specifically the content of the grid).
grid1.table.kendoDropTarget({...
Change this to use the grid wrapper attribute, which encapsulates the entire grid control.
grid1.wrapper.kendoDropTarget({
Here is a Dojo example to demonstrate the above.

How to make a selectable list in HTML5

I am trying to mimic a listbox as what would be available in MS visual studio. I have found HTML elements
select
and datalist
The problem is that these are really for data entry. What I had in mind is to have search results shown in a list but they are selectable? I need to know the index of the item(s) chosen so I can retrieve more additional detail for a subsequent screen. The elements above are more like drop downs. I want something like a textbox with a scroll bar that allows for multi select. Is that possible for HTML5?
I know VS had a form toolbox item that did just that.
Any advice?
Thanks in advance.
Matt

How can I make an embeded drop down list in an Extjs editable grid always visible?

Is it posible to make a drop down list always visible in a editabel grid ? With the default setup/configuration the drop down only apear when the cell is clicked on ?
Thanks
I do not think this is possible because of the way the editor is set up. The editor (wether it is a row editor or cell editor) is a re-usable object that is loaded with 1 record at a time. If the editor would be shown for multiple rows at a time you would require multiple editor objects as well.

Categories

Resources