Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » get dataSetRow value from client script(get dataSetRow value from client script)
get dataSetRow value from client script [message #783325] Wed, 25 January 2012 09:19 Go to next message
santiago m is currently offline santiago m
Messages: 4
Registered: January 2012
Junior Member
Hi,

I'm trying to get a date value from a dataSet to set the start date of a calendar in client javascript, but i can't.

is there a way to get a dataSetRow value from a client javascript?

sorry about my poor english!!
Re: get dataSetRow value from client script [message #783394 is a reply to message #783325] Wed, 25 January 2012 11:28 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

You can always uses a text element like:

<script language="JavaScript">
var tst =<VALUE-OF>dataSetRow["ColumnName"]</VALUE-OF>;
</script>

Also if you put a bookmark on a data item you should be able to
reference the bookmark as its id at runtime.

var melm = document.getElementById(elm); //elm is the bookmark

Jason

On 1/25/2012 9:19 AM, santiago m wrote:
> Hi,
>
> I'm trying to get a date value from a dataSet to set the start date of a
> calendar in client javascript, but i can't.
> is there a way to get a dataSetRow value from a client javascript?
>
> sorry about my poor english!!
Previous Topic:Can we have Excel output for each table in Birt designer in different sheets.
Next Topic:Date Format
Goto Forum:
  


Current Time: Fri Jul 25 19:17:41 EDT 2014

Powered by FUDForum. Page generated in 0.02329 seconds