hungsama / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

righht most column data goes missing in dnd-grid #916

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1. Create two grids, to drag one from 1st grid to other
2. right most column data goes missing

What is the expected output? What do you see instead?
All the columns should be shown/moved to the target grid

Which struts2 version?
struts2-core-2.2.3.1.jar

Which struts2-jquery plugin version?
struts2-jquery-grid-plugin-3.2.0.jar
struts2-jquery-plugin-3.2.0.jar

Please provide any additional information below.

I am providing the two grids attribute as follows which I have set.

<sjg:grid id="materialsInParkGrid" dataType="json"
                                                connectWith="#materialsGrid" draggable="true"
                                                draggableHelper="original" draggableCursor="move"
                                                draggableRevert="invalid" draggableZindex="5000"
                                                draggableContainment="document" droppable="true"
                                                droppableOnDropTopics="ondrop"
                                                droppableActiveClass="ui-state-active"
                                                droppableHoverClass="ui-state-hover" pager="true"
                                                href="%{MaterialInParkGridURL}"
                                                editurl="%{MaterialInParkGridURL}" rownumbers="true"
                                                gridModel="materialsGrid" rowList="10,15,20" rowNum="10"
                                                multiselect="false" shrinkToFit="true" viewrecords="true"
                                                cssStyle="width:inherit;" height="200" autowidth="true">
                                                <sjg:gridColumn name="malMahineId" index="malMahineId"
                                                    align="center" title="%{getText('label.id')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}"
                                                    key="true" />
                                                <sjg:gridColumn name="macReference" index="macReference"
                                                    align="center" title="%{getText('form.label.Reference')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}" />
                                                <sjg:gridColumn name="park.prkName" index="park.prkName"
                                                    align="center" title="%{getText('label.park')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}" />
                                            </sjg:grid>

<sjg:grid id="materialsGrid" dataType="json"
                                                connectWith="#materialsInParkGrid" draggable="true"
                                                draggableHelper="original" draggableCursor="move"
                                                draggableRevert="invalid" draggableZindex="5000"
                                                draggableContainment="document" droppable="true"
                                                droppableOnDropTopics="ondrop"
                                                droppableActiveClass="ui-state-active"
                                                droppableHoverClass="ui-state-hover" pager="true"
                                                href="%{MaterialGridURL}" editurl="%{MaterialGridURL}"
                                                rownumbers="true" gridModel="materialsGrid"
                                                rowList="10,15,20" rowNum="10" multiselect="false"
                                                shrinkToFit="true" viewrecords="true"
                                                cssStyle="width:inherit;" height="200" autowidth="true">
                                                <sjg:gridColumn name="malMahineId" index="malMahineId"
                                                    align="center" title="%{getText('label.id')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}"
                                                    key="true" />
                                                <sjg:gridColumn name="macReference" index="macReference"
                                                    align="center" title="%{getText('form.label.Reference')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}" />
                                                <sjg:gridColumn name="park.prkName" index="park.prkName"
                                                    align="center" title="%{getText('label.park')}"
                                                    sortable="true" search="true" searchoptions="{sopt:['eq']}" />
                                            </sjg:grid>

Original issue reported on code.google.com by dhananja...@cntglobal.in on 5 Nov 2012 at 7:15