How to make a horizontal table using the pdf package in flutter? - flutter

I am trying to add a horizontally oriented table to my generated PDF i.e. the headers are all on the left. I am using the package called pdf.
What I have tried -
I did try restructuring my data so as to get the headers on the left side but the headerStyle still applies the style to the top row cells.

Related

TPPDF add a resized image as symbol and text to a tablecell

I want to create a pdf document using the TPPDF package in swift.
Is it possible to add in a specific cell multiple items?
I want to add a checkmark as image / Symbol and a related text behind it.
(No accessable element just indicator)
Column A
Column B.
'text'
image + 'text'
'text'
image + 'text'
I needed to split related information's in two rows which get split by the page break.
is it possible to avoid this?
e.g. ObjectA is indicated in 2 rows [row 1 & 2] with some vertical and horizontal merges.
when it comes to a page break, the vertical merges sometimes are divided by the page break.
[Sample Table Image Page break]
[Sample Table Image one object needs 2 rows]
I am new here. Any advice to improve this question to get better support appreciated.
The documents and APIs I noticed did not support anything like this.

How to set Table Row height and the Cell Options as Fit Text with Content Control in word Addin | Officejs

I have existing word plugin in C# and I'm converting it to Office.js. My requirement is to Add Table in word with 1 row and 1 column. The Cell text would be Content Control of table and text should fit to entire row and also Specify the Row height as mentioned in below Expected results snapshots.
Below is my code in react.
Code in react
Actual Result:(output of the new implementation i.e. Office.js)
Actual Result
Expected Result:(Existing Plugin result i.e. C#)
Exptected Result
Please guide/provide me sample code to achieve this in Office.js
Try using TableRow.preferredHeight to set the height and set TableCell.horizontalAlighnment to Justified to get the contents to fill the cell.

Automated size for cells in IGListCollectionsVeiw with section headers don't work

I have an IGListCollectionView with sectionHeaders.
How do I auto size the cells
I need to present info in a table with different cells height in same section, each section have a sticky header.
I am using SectionController that inherit from ListBindingSectonControllerDataSource.
I tray to use estimatedItemSize and headerReferenceSize.
The UI is bouncy - look like it have a problem to calculate the header size.
If I run the code without the header it works fine.

VerticalLayout dynamically hiding visibility

I was wondering whats the best way around dynamically hiding some menu items. At the moment I have 6 items just in a matrix layout row. I want to have 3 items aligned left and 3 items alligned right. If one of the items is set to not visible I want it to move accross. I've done something similiar in a horizontal layout and setting the visibility to hidden. I was wondering if this would work with a vertical layout? Having trouble trying to figure out exactly how I would do it as I'm quite new to UI5 xml css and javscript. Any help would be great.
Also I'm having one other issue unrelated to this, I cant seem to bind my json model to my xml fragment, if I use the same code on my normal xml view it prints out the model data. But on my fragment it just prints it like {person>/fullName} any ideas ?
Belongs to your second question.
Maybe your binding was quoted on copy and paste? Check the native XML Code.
If no data are shown (not "{person>/fullName}"), add dependent to connect the models of your view
var oFragment = sap.ui.xmlfragment(sFragment, "fragmentName", this);
oView.addDependent(oFragment);

ListGrid with auto size - missing columns

I'm using smartgwt ListGrid. The problem appears when it's empty, and if i manually set columns width, i can get some columns clipped in the view port and there is no horizontal scrolling so I can't access them.
But if I add an empty record, the scrollbar appears. I've fixed it by adding
setAutoFitData(Autofit.HORIZONTAL);
setAutoFitMaxColumns(3000);
setOverflow(Overflow.AUTO);
But I need to add some freezed columns to my listGrid. I'd like to use setFrozen(true) method, but its not compatible with setAutoFitData(Autofit.HORIZONTAL);
What I need is
to show a scrollbar if columns are out of the view port, even when list grid is empty.
some first columns must be frozen.
Everything works with the base List Grid with no additional options. But when i set
setShowEmptyMessage(false);
my scrollbar disappears.
Kind of workaround i've found:
setShowEmptyMessage(true);
setEmptyMessage(" ");