- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?
I use the following to display "my text" at the top of my charts.
Dispatch( {}, "graph title", TextEditBox, {Set Text( "my text" )} )
However, I would like to have the item(s) selected in the local data filter to be displayed in the graph title as I select them (perhaps multiple sections as comma delimited?).
How to achieve this in JSL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?
Ok thank you it works correctly, but if ever how can we put just the first name last name that it finds in the database?
In your example this would display only the first name “KATIE”
This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Is it possible to dynamically update "graph title" based item selection in local data filter (including multiple selections)?
like this it works correctly:
changeTitle = Function( {this},
Eval( Parse( "theRows = dt << get rows where" || Substr( ldf << get where clause(), 13 ) ) );
If( Length( theRows ) > 0,
theRow = theRows[1];
ldfText = :remarques[theRow],
ldfText = "All Names"
);
(Report( gb ) << XPath( "//TextEditBox" ))[1] << Set Text( ldfText );
);
This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .
- « Previous
- Next »