tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.85k stars 1.2k forks source link

Drag and Drop #886

Closed Dovgani closed 6 years ago

Dovgani commented 6 years ago

Hello Tony

I could not find the answer on my problem. After drop target moves row columns for one column left, as you can see below. I have 2 grids with the same model.

colModel: [ { label: 'ID', name: 'id', width: 35, editable: false, align: 'right', key: true }, { label: 'Name', name: 'name', width: 100, editable: true }, { label: 'Type', name: 'type', width: 100, editable: true, align: 'right' }, { label: 'Size', name: 'size', width: 100, editable: true, align: 'right' }, { label: 'Template', name: 'template', width: 100, editable: true, align: 'left' } ],

image

image

Thank you

tonytomov commented 6 years ago

Hello,

Could you please post the whole code including the two grids and drag and drop set-up?

Using only pictures and colModel only will not help.

Regards

Dovgani commented 6 years ago

Hello Tony,

I put my test project here: https://github.com/Dovgani/jqGrid It is angular. I removed as much as possible (just to have min to reproduce that behavior) If you really need, I can publish, it in github pages to show that behavior in action.

Thank you Ghennady

tonytomov commented 6 years ago

Hello,

The url you give meis not working.You can simple post the two grid configurations and athe drag and drop setup

tonytomov commented 6 years ago

I will close the issue. If possible prepare a test case and reopen it.