|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Q/ grid objecthello,
some questions about your grid object my grid is composed of 5 lines: why do the nbLine(=9) property differs from the tabData length(=5)? my grid is built with the boolPrint prop sets to true and I can't open the context menu and print it. is there another prop I missed to set? my grid is single selectable. once I select a line, I can't deselect it. shall I override the onclick evt for doing this? Is there a way to avoid the check symbol when selecting a line? thx mathieu |
|
|
Re: Q/ grid object--- In rialto-dev@..., "mathieu.cier" <mathieu.cier@...>
wrote: > > hello, Hello mathieu > > some questions about your grid object > my grid is composed of 5 lines: > > why do the nbLine(=9) property differs from the tabData length(=5)? It shouldn't...i need the code to tell you > > my grid is built with the boolPrint prop sets to true and I can't open > the context menu and print it. is there another prop I missed to set? I add a new constructor propertie withContextualMenu that allow the use of contextual menu. You have to set it to true (the default value is false) > > my grid is single selectable. once I select a line, I can't deselect it. > shall I override the onclick evt for doing this? For now you have to overwrite the afterOnClick method. Something like: myGrid.baseAfterOnclick=rialto.widget.Grid.prototype.afterOnClick; myGrid.afterOnClick=function(indLine,indCell,boolAction){ if(this.indLineClic==indLine){ this.unselectLine(); } else{ this.baseAfterOnclick(indLine,indCell,boolAction); } } > > Is there a way to avoid the check symbol when selecting a line? > The only way is to change the css value of the "grid_imgSel" rules Cyril |
|
|
Re: Q/ grid objecthello cyril,
--- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote: > > --- In rialto-dev@..., "mathieu.cier" <mathieu.cier@> > wrote: > > > > hello, > > Hello mathieu > > > > > some questions about your grid object > > my grid is composed of 5 lines: > > > > why do the nbLine(=9) property differs from the tabData length(=5)? > > It shouldn't...i need the code to tell you sure but I need to recheck it because at the first initialization both props are equals... > > > > my grid is built with the boolPrint prop sets to true and I can't open > > the context menu and print it. is there another prop I missed to set? > > I add a new constructor propertie withContextualMenu that allow the > use of contextual menu. You have to set it to true (the default value > is false) I get the following error since using that prop: this.withContextualMenu is not a function http://localhost/rialtoEngine/javascript/rialto.js Line 3642 and my rialto.js file is up to date... (17/06) > > my grid is single selectable. once I select a line, I can't deselect it. > > shall I override the onclick evt for doing this? > > For now you have to overwrite the afterOnClick method. Something like: > > myGrid.baseAfterOnclick=rialto.widget.Grid.prototype.afterOnClick; > myGrid.afterOnClick=function(indLine,indCell,boolAction){ > if(this.indLineClic==indLine){ > this.unselectLine(); > } > else{ > this.baseAfterOnclick(indLine,indCell,boolAction); > } > } > ok thanks a lot for that reactive and detailed code! > > Is there a way to avoid the check symbol when selecting a line? > > > > The only way is to change the css value of the "grid_imgSel" rules ok > Cyril > mathieu |
|
|
Re: Q/ grid objectMathieu,
I forgot to commit. Update your rialto.js file please Cyril > I get the following error since using that prop: > this.withContextualMenu is not a function > http://localhost/rialtoEngine/javascript/rialto.js > Line 3642 > |
|
|
Re: Q/ grid objectgreat it works but the new contextual menu prints each header name and the drawing of icon appearing in front of them fails. do I need to update the defaultSkin.css file? --- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote: > > Mathieu, > > I forgot to commit. Update your rialto.js file please > > Cyril > > > > I get the following error since using that prop: > > this.withContextualMenu is not a function > > http://localhost/rialtoEngine/javascript/rialto.js > > Line 3642 > > > |
|
|
Re: Q/ grid objectCyril,
it's ok. the check.png file was missing. is there any way to download all the images directory? mathieu --- In rialto-dev@..., "mathieu.cier" <mathieu.cier@...> wrote: > > > great it works > but the new contextual menu prints each header name and the drawing of > icon appearing in front of them fails. > do I need to update the defaultSkin.css file? > > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote: > > > > Mathieu, > > > > I forgot to commit. Update your rialto.js file please > > > > Cyril > > > > > > > I get the following error since using that prop: > > > this.withContextualMenu is not a function > > > http://localhost/rialtoEngine/javascript/rialto.js > > > Line 3642 > > > > > > |
|
|
Re: Q/ grid objectall the images are in the rialtoEngine of the release version on the
site. http://rialto.improve-technologies.com/wiki/rialto/download --- In rialto-dev@..., "mathieu.cier" <mathieu.cier@...> wrote: > > Cyril, > it's ok. the check.png file was missing. > is there any way to download all the images directory? > mathieu > > --- In rialto-dev@..., "mathieu.cier" <mathieu.cier@> > wrote: > > > > > > great it works > > but the new contextual menu prints each header name and the > > icon appearing in front of them fails. > > do I need to update the defaultSkin.css file? > > > > --- In rialto-dev@..., "Cyril Balit" <cbalit@> wrote: > > > > > > Mathieu, > > > > > > I forgot to commit. Update your rialto.js file please > > > > > > Cyril > > > > > > > > > > I get the following error since using that prop: > > > > this.withContextualMenu is not a function > > > > http://localhost/rialtoEngine/javascript/rialto.js > > > > Line 3642 > > > > > > > > > > |
| Free Forum Powered by Nabble | Forum Help |