Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 22, 2007 04:17
open dhtmlx forum
Unable to Drag a row inside the grid

Hi

Im unable to drag a row within the grid . I have done mygrid.enableDragandDrop(true). and have also included the dhtmlXGrid_drag.js but still not able to do it . I also disable the LightMouseNavigation and enableMultiLineSelect(false). All i coud get is that the color of the target row changes to pink but no dragging actually happens . ..

I have a 15 column grid of which column of which 5,6,9,10 are date type and remaining are all "ed" type .
This is my XML file for constructing the initial empty grid.
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<userdata name="gud1">
        userdata value 1
    </userdata>
    <userdata name="gud2">
        userdata value 2
    </userdata>
    <row id="task1" selected="1" call="1" xmlkids="1">
        <cell >1</cell>
        <cell> </cell>
        <cell> </cell>
        <cell></cell>
        <cell></cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        <cell> </cell>
        
    </row>
    <row id="task2" selected="1" call="1" xmlkids="1">
        <cell>2</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>

    <row id="task3" selected="1" call="1" xmlkids="1">
        <cell>3</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task4" selected="1" call="1" xmlkids="1">
        <cell>3</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task5" selected="1" call="1" xmlkids="1">
        <cell>5</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task6" selected="1" call="1" xmlkids="1">
        <cell>6</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task7" selected="1" call="1" xmlkids="1">
        <cell>7</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task8" selected="1" call="1" xmlkids="1">
        <cell>8</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task9" selected="1" call="1" xmlkids="1">
        <cell>9</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task10" selected="1" call="1" xmlkids="1">
        <cell>10</cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task11" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task12" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task13" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task14" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task15" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task16" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task17" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task18" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task19" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task20" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task21" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task22" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task23" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task24" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task25" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task26" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task27" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
    <row id="task28" selected="1" call="1" xmlkids="1">
        <cell></cell>
        <userdata name="hondaUD">
            userdata value for honda
        </userdata>
        <cell></cell>
    </row>
</rows>


Answer posted on Jun 22, 2007 16:30
Problem not reconstructable locally - please check attached sample, it uses the same XML and  standard js files - all works correctly
Attachments (1)
Answer posted by Embre (Support) on Dec 11, 2014 04:55

Not much can be said in addition to the reply above, but you also can check embed google calendar joomla and web page designer and find out what we have probably missed in our explanation.