Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 14:19 Go to next message
santiago m is currently offline santiago mFriend
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 16:28 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
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: Thu Apr 25 20:10:34 GMT 2024

Powered by FUDForum. Page generated in 0.02645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top