Multiple headers in sap.m table - sapui5

Please help me in how to set multiple headers and headerSpan in sap.m.table
I have to create a table using sap.m library only and my table should like below image
I tried using vboxes in column->header->vbox
But unable to group columns and i need underline

Related

Jaspersoft Table Element No data displayed

I have a table component on a subreport being used with an independent data source (dataset) thats hooked onto the table object. The table has two columns, the following issues arise upon debugging:
Not all descriptions are loaded from the query I used
The second column is not showing the data at all
Is there any properties that I am missing?
Thank you
Kind reagrds
Zain Nabi
Jasperstudio reports require all parameter names to be the same.

Create a dynamic table in a PDF Form programmatically

I need to generate a pdf based on a template form.
In that form there is a table that needs to be populated.
Since the table can have a unknown amount of rows, what I was thinking was drawing the table and then adding it to a space on the form.
As in, the form would have a acrofield to receive the table itself.
I already managed to create the table and put it inside a pdf, but I'm having issues puting that table into a acrofield.
As far as I can understand a form only appears to accept these: button, text, choice, or signature.
I'm using Apache pdfbox and easyTable to manipulate the form and create the table.
Is it possible what I want to do? If so, where can I find more information about this topic?
Edit: This answer seems to be what I want to do.

How to access External Data using field's custom formula

In order to reference a page's shapedata sheet, I use the =ThePage!Prop.[name] custom formula. What would be the equivalent to access external data?
When you drop row from External Data Window to your shape Visio application engine automatically create from this shape group and add into this group few shapes (text callouts)
Also Visio add to this text callouts user-defined cells and fill these cells data from row of External Data Window.

How to show in the same Form Grid, Header and Line records?

I have a problem. I need to have in the same Form's Grid both Header record and Line record.
My Header is CustInvoiceJour my Line is CustInvoiceTrans the Table relation is by : CustInvoiceTrans.ParentRecId == CustInvoiceJour.RecId.
I want to show some CustInvoiceJour fields and another CustInvoiceTrans fields in the same grid.
On web I found this tutorial : but I forget something or I need more information.
Because I only see an only one CustInvoiceJour with it Line, and all other Header and its aren't show.
Can you help me ? Do you have another explain example or advice ?
Add CustInvoiceJour and CustInvoiceTrans as data sources. On the CustInvoiceTrans datasource change properties JoinSource to CustInvoiceJour and LinkType to InnerJoin.
On the grid control set the DataSource property to CustInvoiceJour.
Drag the fields from datasources to the field.
You could create a new query that has both of those tables in the dataset using the relation you described above.
After you create your query, you can add that query to your form grid as the datasource.
OR
Use the query called CustInvoiceTransExpanded which has both tables you mention plus a few others that might be useful.

Sapui5 table column with various control template

I implemented a table which bound to a json model.
I want to manipulate it such as one of the column be with various control types depend on the row value.
For example with some condition some rows of same column has text view control and other has dropdown list control.
I attached a sample image:
Thanks in advance!
You could also just create your custom control that renders the control you want based on a property value.
I created a simple example for you: http://jsbin.com/cafumivuco/13/edit?js,output
This has the advantage that only one control is rendered per row and not both while one is invisible.