Table drop cell [message #1017373] |
Mon, 11 March 2013 13:43  |
Eclipse User |
|
|
|
Hi All,
there is a possibility to drop a cell of a table in onRender or onCreate script?
I am able to drop in onPrepare script, but in this case i haven't yet the resultset, so i haven't the logical data to drop or not.
Thanks in advance
|
|
|
|
Re: Table drop cell [message #1017457 is a reply to message #1017376] |
Mon, 11 March 2013 17:34   |
Eclipse User |
|
|
|
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 19:47] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07750 seconds