|
|
|
Re: DataRow.rowNo how does this work [message #40661 is a reply to message #39334] |
Tue, 24 May 2005 23:05 |
Paul Rogers Messages: 152 Registered: July 2009 |
Senior Member |
|
|
Mike,
As Scott pointed out, the team decided to drop the name alias for the row
number column out of concern for the "rowNo" name clashing with a real
column name. The data row is an array of values, and allows both numeric and
string indexes. Even though the "rowNo" string index is not available, you
can use the numeric index: row[0]. (Columns from your data set are defined
to start with index 1, so BIRT reserves index 0 for the row count.)
On intellisense; the UI team is looking at possible projects for the next
release and intellisense is on their list. However, at this point, no post
1.0 feature list is yet available, but watch for the candidate list in the
coming weeks.
- Paul
Paul Rogers
BIRT PMC
"Mike Boyersmith" <mjboyers@us.ibm.com> wrote in message
news:d6t9bd$euh$1@news.eclipse.org...
> hmmm :| I also tried. from the rom spec
>
> var r = report.dataSets["DataInfo"].row
> var rowNumber = r.rowNo
>
> where "DataInfo" is the name of my data set.
> and still can't get the row index, any idea how this is done?
>
> Also
>
> Q: When will the expression editor have intelli-sense, to support Object
> available methods and attributes?
>
> ----
>
> Mike Boyersmith wrote:
>> A couple more questions
>>
>> Q: I'm trying to write some Java script as part of an expression
>> and I have
>>
>> var count = DataRow.rowNo;
>>
>> but I get an error when I go to preview, any ideas why this doesn't
>> evaluate.
>>
>>
>> Q: When will the expression editor have intelli-sense, to support Object
>> available methods and attributes?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.23543 seconds