|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
IE, Grids and special charactersHi 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 charactersHello 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, > > > 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 charactersHi 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, > > > > > > > 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 charactersHi 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, > > > > > > > > > > > > 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 charactersFred,
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 > > > 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, > > > > > > > > > > > > > > > > > > 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 charactersHi 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 > > > > > 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, > > > > > > > > > > > > > > > > > > > > > > > > > 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 charactersFred,
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 > > > > 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 > > > > > 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, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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 charactersHi 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 > > > 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. > > > > > "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@> > > > > > > > > > > > > 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, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > myGrid.addOneLine(["toto E&TS"]); > > > > > > > > > > > > > > It is correctly displayed under FireFox, but IE only displays > > > > "toto E" > > > > > > > Is this a bug? > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > Fred > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
| Free Forum Powered by Nabble | Forum Help |