News combit Dev Blog

Support for Nested Tables

Posted: Wednesday, July 15, 2015 | 3 comment(s)
 
One of the few requests that kept coming in was "Can we have the detail data in a column of the master table". While there are a couple of workarounds in version 20 that do similar things, the actual request could not be fulfilled this way. Plus, the workarounds were not as discoverable as we would have loved them to be as they included negative indents for line definitions and educated guesses on the number of detail records that are likely to be printed.This is going to change in version 21 – List & Label is going to support a new field type "table" which enables you to nest tables.

So, instead of printing all products that belong to a certain Category underneath the category name, you can now have the Categories picture on the left hand side and all products for that category on the right hand side. A screenshot's worth a thousand words:
 

New feature nested tables

 

Inserting such a table is straight forward – you just add a new table column as usual and choose "Table" as column type:


New feature of report genrator version 21
 

The following dialogs are exactly the same as for a "normal" table – you choose the data source and fields to display. What you end up with is a new table column:
 

New feature of reporting tool
 

If you select the table, you can edit the table object's properties. A double click takes you to the usual table content dialog. The nested table is a first class citizen in the Designer. Resizing columns via Drag & Drop is fully supported, drag & drop of fields just works and even the context selection and editing of table cells works flawlessly.

 

New feature of List & Label
 

And it doesn't stop there – a table in a table cell can contain a sub table, i.e. underneath the single products you could include the order details for the product:

 

New feature of version 21
 

Which gives you the result:

 

New feature of version 21
 

Due to the complex nature of the feature, it can only be used in the new databinding mode we've introduced in LL20. Thus, usage is currently restricted to .NET applications that use databinding via a DataProvider.


 





Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)