Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » What is the difference between table column binding and data element column binding
What is the difference between table column binding and data element column binding [message #1139153] Tue, 15 October 2013 15:25 Go to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
When you have a table, you can set column bindings on that table.
But it's also possible to set column binding directly on data elements within a table.
What is the difference between these two approaches?

It's markable when you drag a dataset column from the Data Explorer and drop it into a top level table.
It creates column data binding on the table itself an let the data element reference that binding.

On the other side, when you drop the dataset column on a top level grid,
then the column binding is created directly on that data element an not on the grid column binding. I'm confused.

[Updated on: Tue, 15 October 2013 15:26]

Report message to a moderator

Re: What is the difference between table column binding and data element column binding [message #1143058 is a reply to message #1139153] Fri, 18 October 2013 01:27 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

If the grid is not bound to the dataSet, when you drop a data element into it, it will have to have the binding to access the appropriate data. If the grid were bound to the dataSet, it would not create the bindings in the data element, unless the data element used a different dataSet. In a table, you must have a dataSet attached to it, so each data element from the dataSet will not have the bindings. If you were to drop another dataSet's data element into the table, it would be bound to its dataSet. This would create an embedded dataSet.

So, the short of it is, it's best to have the outer element bound to the dataSet if all of the individual elements will use the same dataSet.

Hope this helps.



Michael

Developer Evangelist, Silanis
Re: What is the difference between table column binding and data element column binding [message #1143560 is a reply to message #1143058] Fri, 18 October 2013 09:14 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Yes, thanks Michael. Your explanation helps as usual.
Previous Topic:How to fit to whole - export in pdf format
Next Topic:Yet another OutOfMemory thread
Goto Forum:
  


Current Time: Fri Apr 19 08:37:24 GMT 2024

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

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

Back to the top