bug occurs trying to resize column after adding row to datatable

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

bug occurs trying to resize column after adding row to datatable

hospbene
Hey there,

I am trying to implement the datatable widget, which has to be resizeable and able to add/delete/copy rows.
 
Every single function works fine. I can resize and I can add rows, as in the example application shown.

BUT if I add ONE row, and then try to resize a column,  the last row resizes not properly.
If i add TWO rows, the problem occurs in the last TWO rows. It doesn't matter where I'm adding the rows. Everytime, only the last rows are affected.

The same thing is happening when I am trying it on the example "datatable-ng-insert".

Does anybody know how to solve this? Without using to much javascript?

Thanks in advance,

bene

Reply | Threaded
Open this post in threaded view
|

Re: bug occurs trying to resize column after adding row to datatable

Alessandro  Vernet
Administrator
Hi Bene,

I tried to reproduce this by adding:

<fr:button>
    <xf:label>Add</xf:label>
    <xf:insert ev:event="DOMActivate" nodeset="record"/>
</fr:button>

to the datatable-ng.xhtml example in the XForms sandbox, but I don't
see the problem you described. Would you be able to create a
simple/minimal XForms file that reproduces this and that you can share
with us?

Alex

On Wed, Dec 15, 2010 at 6:08 AM, hospbene
<[hidden email]> wrote:

>
> Hey there,
>
> I am trying to implement the datatable widget, which has to be resizeable
> and able to add/delete/copy rows.
>
> Every single function works fine. I can resize and I can add rows, as in the
> example application shown.
>
> BUT if I add ONE row, and then try to resize a column,  the last row resizes
> not properly.
> If i add TWO rows, the problem occurs in the last TWO rows. It doesn't
> matter where I'm adding the rows. Everytime, only the last rows are
> affected.
>
> The same thing is happening when I am trying it on the example
> "datatable-ng-insert".
>
> Does anybody know how to solve this? Without using to much javascript?
>
> Thanks in advance,
>
> bene
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/bug-occurs-trying-to-resize-column-after-adding-row-to-datatable-tp3089060p3089060.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: bug occurs trying to resize column after adding row to datatable

hospbene
Hey Alex,

here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
I hope the mailinglist will survive this load.

bene



Am 17.12.2010 um 04:28 schrieb Alessandro Vernet:

> Hi Bene,
>
> I tried to reproduce this by adding:
>
> <fr:button>
>    <xf:label>Add</xf:label>
>    <xf:insert ev:event="DOMActivate" nodeset="record"/>
> </fr:button>
>
> to the datatable-ng.xhtml example in the XForms sandbox, but I don't
> see the problem you described. Would you be able to create a
> simple/minimal XForms file that reproduces this and that you can share
> with us?
>
> Alex
>
> On Wed, Dec 15, 2010 at 6:08 AM, hospbene
> <[hidden email]> wrote:
>>
>> Hey there,
>>
>> I am trying to implement the datatable widget, which has to be resizeable
>> and able to add/delete/copy rows.
>>
>> Every single function works fine. I can resize and I can add rows, as in the
>> example application shown.
>>
>> BUT if I add ONE row, and then try to resize a column,  the last row resizes
>> not properly.
>> If i add TWO rows, the problem occurs in the last TWO rows. It doesn't
>> matter where I'm adding the rows. Everytime, only the last rows are
>> affected.
>>
>> The same thing is happening when I am trying it on the example
>> "datatable-ng-insert".
>>
>> Does anybody know how to solve this? Without using to much javascript?
>>
>> Thanks in advance,
>>
>> bene
>>
>>
>> --
>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/bug-occurs-trying-to-resize-column-after-adding-row-to-datatable-tp3089060p3089060.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

datatable-ng-insert-problem.mov (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: bug occurs trying to resize column after adding row to datatable

Alessandro  Vernet
Administrator
Hi Benedikt,

Yes, I see that in the video you attached. As you make the column
narrower, at some point it stops being narrower, blocked by the
longest string, but text in the column is still cropped. I'll be back
to office next week, and will investigate this then, and will let you
know what I find.

Alex

On Wednesday, December 22, 2010, Benedikt Hosp
<[hidden email]> wrote:
> Hey Alex,
>
> here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
> I hope the mailinglist will survive this load.
>
> bene
>
>

--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: bug occurs trying to resize column after adding row to datatable

Alessandro  Vernet
Administrator
Bendikt,

I am trying this again, but fail to reproduce what you are showing in
the video. I tried this on Firefox as well as Safari 5, since this is
the browser you seemed to be using in the video. Have you been doing
this on a recent nightly build?

Alex

On Sat, Dec 25, 2010 at 9:16 AM, Alessandro Vernet <[hidden email]> wrote:

> Hi Benedikt,
>
> Yes, I see that in the video you attached. As you make the column
> narrower, at some point it stops being narrower, blocked by the
> longest string, but text in the column is still cropped. I'll be back
> to office next week, and will investigate this then, and will let you
> know what I find.
>
> Alex
>
> On Wednesday, December 22, 2010, Benedikt Hosp
> <[hidden email]> wrote:
>> Hey Alex,
>>
>> here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
>> I hope the mailinglist will survive this load.
>>
>> bene
>>
>>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: bug occurs trying to resize column after adding row to datatable

Alessandro  Vernet
Administrator
For reference, here is the example I used.

Alex

On Thu, Jan 6, 2011 at 4:12 PM, Alessandro Vernet <[hidden email]> wrote:

> Bendikt,
>
> I am trying this again, but fail to reproduce what you are showing in
> the video. I tried this on Firefox as well as Safari 5, since this is
> the browser you seemed to be using in the video. Have you been doing
> this on a recent nightly build?
>
> Alex
>
> On Sat, Dec 25, 2010 at 9:16 AM, Alessandro Vernet <[hidden email]> wrote:
>> Hi Benedikt,
>>
>> Yes, I see that in the video you attached. As you make the column
>> narrower, at some point it stops being narrower, blocked by the
>> longest string, but text in the column is still cropped. I'll be back
>> to office next week, and will investigate this then, and will let you
>> know what I find.
>>
>> Alex
>>
>> On Wednesday, December 22, 2010, Benedikt Hosp
>> <[hidden email]> wrote:
>>> Hey Alex,
>>>
>>> here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
>>> I hope the mailinglist will survive this load.
>>>
>>> bene
>>>
>>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

datatable-ng.xhtml (5K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: bug occurs trying to resize column after adding row to datatable

hospbene
hey Alex,

thanks a lot for your help.

I just tried the latest nightly build as you suggested and now it seems to work fine.

benedikt

Am 07.01.2011 um 01:45 schrieb Alessandro Vernet:

> For reference, here is the example I used.
>
> Alex
>
> On Thu, Jan 6, 2011 at 4:12 PM, Alessandro Vernet <[hidden email]> wrote:
>> Bendikt,
>>
>> I am trying this again, but fail to reproduce what you are showing in
>> the video. I tried this on Firefox as well as Safari 5, since this is
>> the browser you seemed to be using in the video. Have you been doing
>> this on a recent nightly build?
>>
>> Alex
>>
>> On Sat, Dec 25, 2010 at 9:16 AM, Alessandro Vernet <[hidden email]> wrote:
>>> Hi Benedikt,
>>>
>>> Yes, I see that in the video you attached. As you make the column
>>> narrower, at some point it stops being narrower, blocked by the
>>> longest string, but text in the column is still cropped. I'll be back
>>> to office next week, and will investigate this then, and will let you
>>> know what I find.
>>>
>>> Alex
>>>
>>> On Wednesday, December 22, 2010, Benedikt Hosp
>>> <[hidden email]> wrote:
>>>> Hey Alex,
>>>>
>>>> here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
>>>> I hope the mailinglist will survive this load.
>>>>
>>>> bene
>>>>
>>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.com/
>>> My Twitter: http://twitter.com/avernet
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
> <datatable-ng.xhtml>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: bug occurs trying to resize column after adding row to datatable

Alessandro  Vernet
Administrator
Hi Bendikt,

Cool, thank you for confirming this one.

Alex

On Mon, Jan 10, 2011 at 2:46 AM, Benedikt Hosp
<[hidden email]> wrote:

> hey Alex,
>
> thanks a lot for your help.
>
> I just tried the latest nightly build as you suggested and now it seems to work fine.
>
> benedikt
>
> Am 07.01.2011 um 01:45 schrieb Alessandro Vernet:
>
>> For reference, here is the example I used.
>>
>> Alex
>>
>> On Thu, Jan 6, 2011 at 4:12 PM, Alessandro Vernet <[hidden email]> wrote:
>>> Bendikt,
>>>
>>> I am trying this again, but fail to reproduce what you are showing in
>>> the video. I tried this on Firefox as well as Safari 5, since this is
>>> the browser you seemed to be using in the video. Have you been doing
>>> this on a recent nightly build?
>>>
>>> Alex
>>>
>>> On Sat, Dec 25, 2010 at 9:16 AM, Alessandro Vernet <[hidden email]> wrote:
>>>> Hi Benedikt,
>>>>
>>>> Yes, I see that in the video you attached. As you make the column
>>>> narrower, at some point it stops being narrower, blocked by the
>>>> longest string, but text in the column is still cropped. I'll be back
>>>> to office next week, and will investigate this then, and will let you
>>>> know what I find.
>>>>
>>>> Alex
>>>>
>>>> On Wednesday, December 22, 2010, Benedikt Hosp
>>>> <[hidden email]> wrote:
>>>>> Hey Alex,
>>>>>
>>>>> here's a little screencast to show you my problem with the datatable. It's the datatable-ng-insert sample, which I am running on my local machine.
>>>>> I hope the mailinglist will survive this load.
>>>>>
>>>>> bene
>>>>>
>>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.com/
>>> My Twitter: http://twitter.com/avernet
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>> <datatable-ng.xhtml>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet