|
|
Re: Table drop cell [message #1017457 is a reply to message #1017376] |
Mon, 11 March 2013 21:34 |
Mimmo Rossi Messages: 146 Registered: February 2013 |
Senior Member |
|
|
ok, thanks Michael, is ok!!
But i have one doubt and one problem:
doubt) if i have 2 dataset, one of this i run with the data engine api, but if then the same dataset are binding on a table, it's still being executed or, with option that you indicate to me in other topic, no?
problem) if i insert this on beforefacory
[...]
var arrIDNUM= new Array();
while (ri.next()){
tmpS= ri.getValue("ID_KPI");
tmpI= ri.getValue("NUM_ROW");
arrIDNUM[arrIDNUM.length]=[tmpS,tmpI];
}
for test, i write this:
reportContext.setGlobalVariable("arrIDNUM",arrIDNUM);
reportContext.setPersistentGlobalVariable("arrIDNUM",arrIDNUM);
reportContext.setParameterValue("arrIDNUM",arrIDNUM);
reportContext.setPageVariable("VarrIDNUM",arrIDNUM);
but if i try to get all the values in onprepare of my table (to manage a colspan and drop), i receive a null value, but in onrender the values is ok; so the probem is that onprepare is performed before beforefactory, right?
If yes, how can i use the value to drop the cells (considering that i try to drop the cell number x for the row y, but receive an error because the detail is not yet developed, so there is only row 0) ?.
Thanks
Thanks
[Updated on: Mon, 11 March 2013 23:47] Report message to a moderator
|
|
|
Re: Table drop cell [message #1017556 is a reply to message #1017457] |
Tue, 12 March 2013 04:21 |
|
Have you tried using the data engine code in the onPrepare? Can you explain more about the exact issue, so I can set up a test, or can you recreate it in a simple example, using the classic models database?
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Table drop cell [message #1019388 is a reply to message #1017670] |
Fri, 15 March 2013 15:26 |
|
Can you put together an example that I can run, showing what you've got so far and let me know what you're looking for it to do? Thanks!
Michael
Developer Evangelist, Silanis
|
|
|
Powered by
FUDForum. Page generated in 0.04089 seconds