Sfgrid column headers don't line up with the columns - syncfusion

I tried AutoFit="true" TextAlign="TextAlign.Left" and messing with the widths. I'm having difficulty getting the headers to line up with the columns.

Your requirement can be achieved by setting HeaderTextAlignment as a start on manually generated columns. For more details please refer to the below UG link.
UG link : https://help.syncfusion.com/xamarin/datagrid/column-types#headertextalignment
Regards,
Karthik Raja

Related

What does the value of data-p means in JSSOR demos and examples?

I've looked through all the examples and demos and browsed the documentation, but I can't find the meaning of the numerical values of data-p attribute inside of some DIV tags. I see the numbers such as 816.0, 170.0 and 112.50, but can't figure it out. What does it mean?
Please advice.
Thanks.
It means css style perspective.
170 means
style="perspective: 170px;"

RDLC Crystal Report Set Column Group Result Vertical

I can't find any help online with my problem maybe due to that I don't know the exact keywords to use but hear me out.
Here is the screen shot of my report format...
The actual report result appears like this...
The next item appears beside (right side) the first result. I want it to appear below instead like this...
How do I achieve this? Just comment any additional information that is needed.
BTW, I am using visual studio 2013 (Seems like it matters).
UPDATE:
This is the report format that I want to copy. The headers are not important just the body of the report. Thanks!
Try to use grouping go to this link hope this gives you a clue thanks
Finally found out what's wrong. I removed the column groupings and added only a parent row group. Then I added all needed rows and columns inside the group. It was fairly easy once I found out the problem.
Here's the output of my report.
Thanks guys!

multiline table header in wicket

Similar to this.
We are using sortable table header. But it does not support multiline header.
How can I construct a table header than spans multiple rows in HTML?
You can roll out your own Toolbar with extension of the IColumn impls that supports this, e.g. https://github.com/wicketstuff/core/blob/ebc873384dea5ee0cf9ab6f621a3419862a6c8f1/datatables-parent/datatables/src/main/java/org/wicketstuff/datatables/columns/SpanHeadersToolbar.java#L97-L99.
If you think this deserves to be supported by Wicket then please raise an issue in JIRA!
Thanks!

How to conditioanlly hide group header in crystal report based on a column value in details section

I hope some one must have dealt this situation before.
I have a crystal report and on that report I have different sections including headers ,detail and footer. I'm displaying parts related information on details section and description is one of the fields thats being displayed.
So now based on part's description(in detail section)I have to display some text on the page header. So I have to look for part's description for every single part ,and if even a single part has the given description out of all the parts I have to print a message on report header.
My assumption is to use conditonal suppress option at the page header section, but not sure how to check for values from details section at the page header level.
Any help will be highly appreciated.
Thanks
NAF
Here's the way I would approach it.
Create a formula which returns 1 when your condition is met- otherwise 0. For example:
if {table.field} like '*acid*' then 1 else 0;
Then your conditional surpression can sum your new formula- and if the result is 0 it will hide the message.
sum({formula}) = 0
If you want to display it in Report Header then i would use a SQL Expression to conditionally suppres the text you want.
The SQL Expression
(select count(1) from dbo.TABLE where description = 'my_description')
Then in the Suppress formula:
{?SQL_EXPRESSSION} = 0

TableViewer, defining an initial sorting order has no effect on data

pratically I build up a tableviewer as usual, but initially it does not sort all the rows according the column defined for sorting.
The code I am using:
viewer.getTable().setSortColumn(viewer.getTable().getColumn(4));
viewer.getTable().setSortDirection(SWT.UP);
Only after clicking manually the column #4 I obtain the correct order, otherwise it follows exactly the "insert order" of the object list linked to the ViewContentProvider. Please can you help me? Tnx
You just need to refresh the table.
Just had the same problem.
When using ...
tableViewer.setComparator(comparator)
... the above code is ignored.
You have to set manually the initial sort column index in the extended ViewerComparator.
Building off Devalex's answer, the following worked for me:
viewer.setContentProvider(...);
viewer.setInput(...);
viewer.setComparator(myComparator);
myComparator.setColumn(colIndex);
viewer.refresh();