IE, Grids and special characters

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

IE, Grids and special characters

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,
I've found another problem that only occurs with IE (it works fine
with Firefox)
Can you try out the following code?

myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
                                arrHeader:[{title:"test",type:"string",width:200}],
                                name:'myGrid',parent:document.body,
                                navigationMode:false,row:5,
                       
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});
myGrid.addOneLine(["toto E&TS"]);

It is correctly displayed under FireFox, but IE only displays "toto E"
Is this a bug?

Thanks.

Fred


Re: IE, Grids and special characters

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Fred,

you can use entities notation :
& for using "&" charactere

One other way would be to change the addOneLine method (replacing
innerHTML by createTextNode) but the fillgrid still use innerHTML so i
prefer to keep the same renderer with both method.

Tell me if it is ok for you

Cyril


--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:

>
> Hi Cyril,
> I've found another problem that only occurs with IE (it works fine
> with Firefox)
> Can you try out the following code?
>
> myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> arrHeader:[{title:"test",type:"string",width:200}],
> name:'myGrid',parent:document.body,
> navigationMode:false,row:5,
>
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});
> myGrid.addOneLine(["toto E&TS"]);
>
> It is correctly displayed under FireFox, but IE only displays "toto E"
> Is this a bug?
>
> Thanks.
>
> Fred
>



Re: IE, Grids and special characters

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,

Using the & notation, works fine for the "cell" text. But the
"onmouseover" (or whatever it is called) text is now wrong since it
says "toto E&TS"
What should I do to change the addOneLine function? Do I have to
overload it? I think that it would be better if the rialtoEngine was
able to deal with special characters in grid cells on it's own.
Do you think that this could be fixed?

Thanks

Fred

--- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote:

>
> Hello Fred,
>
> you can use entities notation :
> & for using "&" charactere
>
> One other way would be to change the addOneLine method (replacing
> innerHTML by createTextNode) but the fillgrid still use innerHTML so i
> prefer to keep the same renderer with both method.
>
> Tell me if it is ok for you
>
> Cyril
>
>
> --- In rialto-dev@..., "frederic_viollet"
> <frederic.viollet@> wrote:
> >
> > Hi Cyril,
> > I've found another problem that only occurs with IE (it works fine
> > with Firefox)
> > Can you try out the following code?
> >
> > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > arrHeader:[{title:"test",type:"string",width:200}],
> > name:'myGrid',parent:document.body,
> > navigationMode:false,row:5,
> >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});

> > myGrid.addOneLine(["toto E&TS"]);
> >
> > It is correctly displayed under FireFox, but IE only displays "toto E"
> > Is this a bug?
> >
> > Thanks.
> >
> > Fred
> >
>



Re: IE, Grids and special characters

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,

Did you have time to have a look at this one?

Thanks again for your help.

Fred

--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:

>
> Hi Cyril,
>
> Using the & notation, works fine for the "cell" text. But the
> "onmouseover" (or whatever it is called) text is now wrong since it
> says "toto E&TS"
> What should I do to change the addOneLine function? Do I have to
> overload it? I think that it would be better if the rialtoEngine was
> able to deal with special characters in grid cells on it's own.
> Do you think that this could be fixed?
>
> Thanks
>
> Fred
>
> --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> >
> > Hello Fred,
> >
> > you can use entities notation :
> > & for using "&" charactere
> >
> > One other way would be to change the addOneLine method (replacing
> > innerHTML by createTextNode) but the fillgrid still use innerHTML so i
> > prefer to keep the same renderer with both method.
> >
> > Tell me if it is ok for you
> >
> > Cyril
> >
> >
> > --- In rialto-dev@..., "frederic_viollet"
> > <frederic.viollet@> wrote:
> > >
> > > Hi Cyril,
> > > I've found another problem that only occurs with IE (it works fine
> > > with Firefox)
> > > Can you try out the following code?
> > >
> > > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > > arrHeader:[{title:"test",type:"string",width:200}],
> > > name:'myGrid',parent:document.body,
> > > navigationMode:false,row:5,
> > >
> > >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});
> > > myGrid.addOneLine(["toto E&TS"]);
> > >
> > > It is correctly displayed under FireFox, but IE only displays
"toto E"
> > > Is this a bug?
> > >
> > > Thanks.
> > >
> > > Fred
> > >
> >
>



Re: IE, Grids and special characters

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

You have to use the setCellToolTipText function to change the tooltip
of a cell when you use that kind of characters.

Cyril


--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:

>
> Hi Cyril,
>
> Did you have time to have a look at this one?
>
> Thanks again for your help.
>
> Fred
>
> --- In rialto-dev@..., "frederic_viollet"
> <frederic.viollet@> wrote:
> >
> > Hi Cyril,
> >
> > Using the & notation, works fine for the "cell" text. But the
> > "onmouseover" (or whatever it is called) text is now wrong since it
> > says "toto E&TS"
> > What should I do to change the addOneLine function? Do I have to
> > overload it? I think that it would be better if the rialtoEngine was
> > able to deal with special characters in grid cells on it's own.
> > Do you think that this could be fixed?
> >
> > Thanks
> >
> > Fred
> >
> > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> > >
> > > Hello Fred,
> > >
> > > you can use entities notation :
> > > & for using "&" charactere
> > >
> > > One other way would be to change the addOneLine method (replacing
> > > innerHTML by createTextNode) but the fillgrid still use
innerHTML so i

> > > prefer to keep the same renderer with both method.
> > >
> > > Tell me if it is ok for you
> > >
> > > Cyril
> > >
> > >
> > > --- In rialto-dev@..., "frederic_viollet"
> > > <frederic.viollet@> wrote:
> > > >
> > > > Hi Cyril,
> > > > I've found another problem that only occurs with IE (it works fine
> > > > with Firefox)
> > > > Can you try out the following code?
> > > >
> > > > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > > > arrHeader:[{title:"test",type:"string",width:200}],
> > > > name:'myGrid',parent:document.body,
> > > > navigationMode:false,row:5,
> > > >
> > > >
> > >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});

> > > > myGrid.addOneLine(["toto E&TS"]);
> > > >
> > > > It is correctly displayed under FireFox, but IE only displays
> "toto E"
> > > > Is this a bug?
> > > >
> > > > Thanks.
> > > >
> > > > Fred
> > > >
> > >
> >
>



Re: IE, Grids and special characters

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,

Is it really not possible to have addOneLine manage this?
What I mean here is that it would be really good if calling
myGrid.addOneLine(["E&TS"]); could display properly "E&TS" in IE and
Firefox. At the moment it only works with Firefox.
I think (but this is my opinion) that the addOneLine function should
be able to manage special characters. What do you think about this?

Thanks.

Fred

--- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote:

>
> Fred,
>
> You have to use the setCellToolTipText function to change the tooltip
> of a cell when you use that kind of characters.
>
> Cyril
>
>
> --- In rialto-dev@..., "frederic_viollet"
> <frederic.viollet@> wrote:
> >
> > Hi Cyril,
> >
> > Did you have time to have a look at this one?
> >
> > Thanks again for your help.
> >
> > Fred
> >
> > --- In rialto-dev@..., "frederic_viollet"
> > <frederic.viollet@> wrote:
> > >
> > > Hi Cyril,
> > >
> > > Using the & notation, works fine for the "cell" text. But the
> > > "onmouseover" (or whatever it is called) text is now wrong since it
> > > says "toto E&TS"
> > > What should I do to change the addOneLine function? Do I have to
> > > overload it? I think that it would be better if the rialtoEngine was
> > > able to deal with special characters in grid cells on it's own.
> > > Do you think that this could be fixed?
> > >
> > > Thanks
> > >
> > > Fred
> > >
> > > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> > > >
> > > > Hello Fred,
> > > >
> > > > you can use entities notation :
> > > > & for using "&" charactere
> > > >
> > > > One other way would be to change the addOneLine method (replacing
> > > > innerHTML by createTextNode) but the fillgrid still use
> innerHTML so i
> > > > prefer to keep the same renderer with both method.
> > > >
> > > > Tell me if it is ok for you
> > > >
> > > > Cyril
> > > >
> > > >
> > > > --- In rialto-dev@..., "frederic_viollet"
> > > > <frederic.viollet@> wrote:
> > > > >
> > > > > Hi Cyril,
> > > > > I've found another problem that only occurs with IE (it
works fine

> > > > > with Firefox)
> > > > > Can you try out the following code?
> > > > >
> > > > > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > > > > arrHeader:[{title:"test",type:"string",width:200}],
> > > > > name:'myGrid',parent:document.body,
> > > > > navigationMode:false,row:5,
> > > > >
> > > > >
> > > >
> > >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});

> > > > > myGrid.addOneLine(["toto E&TS"]);
> > > > >
> > > > > It is correctly displayed under FireFox, but IE only displays
> > "toto E"
> > > > > Is this a bug?
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Fred
> > > > >
> > > >
> > >
> >
>



Re: IE, Grids and special characters

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

I think i fixe it. Can you test

Cyril


--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:

>
> Hi Cyril,
>
> Is it really not possible to have addOneLine manage this?
> What I mean here is that it would be really good if calling
> myGrid.addOneLine(["E&TS"]); could display properly "E&TS" in IE and
> Firefox. At the moment it only works with Firefox.
> I think (but this is my opinion) that the addOneLine function should
> be able to manage special characters. What do you think about this?
>
> Thanks.
>
> Fred
>
> --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> >
> > Fred,
> >
> > You have to use the setCellToolTipText function to change the tooltip
> > of a cell when you use that kind of characters.
> >
> > Cyril
> >
> >
> > --- In rialto-dev@..., "frederic_viollet"
> > <frederic.viollet@> wrote:
> > >
> > > Hi Cyril,
> > >
> > > Did you have time to have a look at this one?
> > >
> > > Thanks again for your help.
> > >
> > > Fred
> > >
> > > --- In rialto-dev@..., "frederic_viollet"
> > > <frederic.viollet@> wrote:
> > > >
> > > > Hi Cyril,
> > > >
> > > > Using the & notation, works fine for the "cell" text. But the
> > > > "onmouseover" (or whatever it is called) text is now wrong
since it
> > > > says "toto E&TS"
> > > > What should I do to change the addOneLine function? Do I have to
> > > > overload it? I think that it would be better if the
rialtoEngine was

> > > > able to deal with special characters in grid cells on it's own.
> > > > Do you think that this could be fixed?
> > > >
> > > > Thanks
> > > >
> > > > Fred
> > > >
> > > > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> > > > >
> > > > > Hello Fred,
> > > > >
> > > > > you can use entities notation :
> > > > > & for using "&" charactere
> > > > >
> > > > > One other way would be to change the addOneLine method
(replacing

> > > > > innerHTML by createTextNode) but the fillgrid still use
> > innerHTML so i
> > > > > prefer to keep the same renderer with both method.
> > > > >
> > > > > Tell me if it is ok for you
> > > > >
> > > > > Cyril
> > > > >
> > > > >
> > > > > --- In rialto-dev@..., "frederic_viollet"
> > > > > <frederic.viollet@> wrote:
> > > > > >
> > > > > > Hi Cyril,
> > > > > > I've found another problem that only occurs with IE (it
> works fine
> > > > > > with Firefox)
> > > > > > Can you try out the following code?
> > > > > >
> > > > > > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > > > > > arrHeader:[{title:"test",type:"string",width:200}],
> > > > > > name:'myGrid',parent:document.body,
> > > > > > navigationMode:false,row:5,
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});

> > > > > > myGrid.addOneLine(["toto E&TS"]);
> > > > > >
> > > > > > It is correctly displayed under FireFox, but IE only displays
> > > "toto E"
> > > > > > Is this a bug?
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > > > > Fred
> > > > > >
> > > > >
> > > >
> > >
> >
>



Re: IE, Grids and special characters

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,

It works fine! Thanks!

Fred

--- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote:

>
> Fred,
>
> I think i fixe it. Can you test
>
> Cyril
>
>
> --- In rialto-dev@..., "frederic_viollet"
> <frederic.viollet@> wrote:
> >
> > Hi Cyril,
> >
> > Is it really not possible to have addOneLine manage this?
> > What I mean here is that it would be really good if calling
> > myGrid.addOneLine(["E&TS"]); could display properly "E&TS" in IE and
> > Firefox. At the moment it only works with Firefox.
> > I think (but this is my opinion) that the addOneLine function should
> > be able to manage special characters. What do you think about this?
> >
> > Thanks.
> >
> > Fred
> >
> > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote:
> > >
> > > Fred,
> > >
> > > You have to use the setCellToolTipText function to change the
tooltip

> > > of a cell when you use that kind of characters.
> > >
> > > Cyril
> > >
> > >
> > > --- In rialto-dev@..., "frederic_viollet"
> > > <frederic.viollet@> wrote:
> > > >
> > > > Hi Cyril,
> > > >
> > > > Did you have time to have a look at this one?
> > > >
> > > > Thanks again for your help.
> > > >
> > > > Fred
> > > >
> > > > --- In rialto-dev@..., "frederic_viollet"
> > > > <frederic.viollet@> wrote:
> > > > >
> > > > > Hi Cyril,
> > > > >
> > > > > Using the & notation, works fine for the "cell" text.
But the

> > > > > "onmouseover" (or whatever it is called) text is now wrong
> since it
> > > > > says "toto E&TS"
> > > > > What should I do to change the addOneLine function? Do I have to
> > > > > overload it? I think that it would be better if the
> rialtoEngine was
> > > > > able to deal with special characters in grid cells on it's own.
> > > > > Do you think that this could be fixed?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Fred
> > > > >
> > > > > --- In rialto-dev@..., "Cyril Balit" <cbalit@>
wrote:

> > > > > >
> > > > > > Hello Fred,
> > > > > >
> > > > > > you can use entities notation :
> > > > > > & for using "&" charactere
> > > > > >
> > > > > > One other way would be to change the addOneLine method
> (replacing
> > > > > > innerHTML by createTextNode) but the fillgrid still use
> > > innerHTML so i
> > > > > > prefer to keep the same renderer with both method.
> > > > > >
> > > > > > Tell me if it is ok for you
> > > > > >
> > > > > > Cyril
> > > > > >
> > > > > >
> > > > > > --- In rialto-dev@..., "frederic_viollet"
> > > > > > <frederic.viollet@> wrote:
> > > > > > >
> > > > > > > Hi Cyril,
> > > > > > > I've found another problem that only occurs with IE (it
> > works fine
> > > > > > > with Firefox)
> > > > > > > Can you try out the following code?
> > > > > > >
> > > > > > > myGrid=new rialto.widget.Grid({top:5,left:5,height:100,
> > > > > > > arrHeader:[{title:"test",type:"string",width:200}],
> > > > > > > name:'myGrid',parent:document.body,
> > > > > > > navigationMode:false,row:5,
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
cellActive:false,sortable:true,lineHeight:16,switchable:false,clickable:true,autoResizableW:false,writable:false});
> > > > > > > myGrid.addOneLine(["toto E&TS"]);
> > > > > > >
> > > > > > > It is correctly displayed under FireFox, but IE only
displays

> > > > "toto E"
> > > > > > > Is this a bug?
> > > > > > >
> > > > > > > Thanks.
> > > > > > >
> > > > > > > Fred
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


LightInTheBox - Buy quality products at wholesale price