Reordering of rows with in a datatable

View: New views
4 Messages — Rating Filter:   Alert me  

Reordering of rows with in a datatable

by nagaraj-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I encountered a problem when i try to reorder rows with in a datatable below are the threads where i have illustrated the problem elaborately can any one have a look into?

http://tech.groups.yahoo.com/group/ydn-javascript/message/51939

http://tech.groups.yahoo.com/group/ydn-javascript/message/51960

http://tech.groups.yahoo.com/group/ydn-javascript/message/51972


Thanks in Advance!


Re: Reordering of rows with in a datatable

by Satyam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I know you've been asking this for quite a while and you have provided a
lot of information, but it would be easier if you make a working example
available in a public place, not just the code, but a really working
example and instructions on how to reproduce the issue.  As you have
noticed, nobody has much time to go through pages and pages of
JavaScript code.

Satyam

nagaraj escribió:

> Hi All,
>
> I encountered a problem when i try to reorder rows with in a datatable below are the threads where i have illustrated the problem elaborately can any one have a look into?
>
> http://tech.groups.yahoo.com/group/ydn-javascript/message/51939
>
> http://tech.groups.yahoo.com/group/ydn-javascript/message/51960
>
> http://tech.groups.yahoo.com/group/ydn-javascript/message/51972
>
>
> Thanks in Advance!
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.698 / Virus Database: 270.14.46/2477 - Release Date: 11/02/09 20:39:00
>
>  

Re: Reordering of rows with in a datatable

by nagaraj-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




Hi Satyam!

Thanks for replying.. here is the link for working example:

http://linuxfreaks.in/yui/

with in which i have wrote steps to reproduce my problem(Just below the datatable)

Please let me know if i am messy anywhere.

though you guys are busy,you answer to every thread with lots of patience.

i really respect you guys!


--- In ydn-javascript@..., Satyam <satyam@...> wrote:

>
> I know you've been asking this for quite a while and you have provided a
> lot of information, but it would be easier if you make a working example
> available in a public place, not just the code, but a really working
> example and instructions on how to reproduce the issue.  As you have
> noticed, nobody has much time to go through pages and pages of
> JavaScript code.
>
> Satyam
>
> nagaraj escribió:
> > Hi All,
> >
> > I encountered a problem when i try to reorder rows with in a datatable below are the threads where i have illustrated the problem elaborately can any one have a look into?
> >
> > http://tech.groups.yahoo.com/group/ydn-javascript/message/51939
> >
> > http://tech.groups.yahoo.com/group/ydn-javascript/message/51960
> >
> > http://tech.groups.yahoo.com/group/ydn-javascript/message/51972
> >
> >
> > Thanks in Advance!
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 9.0.698 / Virus Database: 270.14.46/2477 - Release Date: 11/02/09 20:39:00
> >
> >
>



Re: Re: Reordering of rows with in a datatable

by Satyam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am not sure if this is all the story, perhaps there is some other
issue elsewhere but in the sample you provided below, the problem is
simple.  When in startDrag you copy the HTML for the row into the
innerHTML of the proxy, you are copying the <input> element with its
id.  When you list them, this <input> element, which remains floating
around, invisible, in the page, is the one that the browser picks over
the new element with the same id in the new position.  If you list the
values contained in the table Recordset, you will see they are in the
right order.

In all cases, you should rely on the information in the Recordset and
make sure to keep that info up to date at all times, because that is the
information the DataTable operates upon.

Satyam

nagaraj escribió:

>
> Hi Satyam!
>
> Thanks for replying.. here is the link for working example:
>
> http://linuxfreaks.in/yui/
>
> with in which i have wrote steps to reproduce my problem(Just below the datatable)
>
> Please let me know if i am messy anywhere.
>
> though you guys are busy,you answer to every thread with lots of patience.
>
> i really respect you guys!
>
>
> --- In ydn-javascript@..., Satyam <satyam@...> wrote:
>  
>> I know you've been asking this for quite a while and you have provided a
>> lot of information, but it would be easier if you make a working example
>> available in a public place, not just the code, but a really working
>> example and instructions on how to reproduce the issue.  As you have
>> noticed, nobody has much time to go through pages and pages of
>> JavaScript code.
>>
>> Satyam
>>
>> nagaraj escribió:
>>    
>>> Hi All,
>>>
>>> I encountered a problem when i try to reorder rows with in a datatable below are the threads where i have illustrated the problem elaborately can any one have a look into?
>>>
>>> http://tech.groups.yahoo.com/group/ydn-javascript/message/51939
>>>
>>> http://tech.groups.yahoo.com/group/ydn-javascript/message/51960
>>>
>>> http://tech.groups.yahoo.com/group/ydn-javascript/message/51972
>>>
>>>
>>> Thanks in Advance!
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG - www.avg.com
>>> Version: 9.0.698 / Virus Database: 270.14.46/2477 - Release Date: 11/02/09 20:39:00
>>>
>>>
>>>      
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.698 / Virus Database: 270.14.48/2479 - Release Date: 11/03/09 20:38:00
>
>