Page 1 of 1
Text with Header in DataBand
Posted: Tue Feb 22, 2022 12:42 pm
by okahraman
Hello,
I want to create grid with header using text in Databand , but headers are not displayed. Also headers and contents must be the same size, what should I use for this?
I shared mrt file.
Can you help me?
Re: Text with Header in DataBand
Posted: Tue Feb 22, 2022 9:50 pm
by Lech Kulikowski
Re: Text with Header in DataBand
Posted: Wed Feb 23, 2022 8:04 am
by okahraman
Hello again,
This document couldn't solve my problem. If you look picture 2, I must this: Headers and contents must be the same size and contents' sizes must be dynamic(but have to be max width. I did my shared mrt file if you look).
I must prevent situation at picture .
Thanks
Re: Text with Header in DataBand
Posted: Wed Feb 23, 2022 2:29 pm
by Lech Kulikowski
Hello,
Please set the AutoWidth to false for text components.
Thank you.
Re: Text with Header in DataBand
Posted: Thu Feb 24, 2022 6:28 am
by okahraman
Hello again,
Contents' lengths must be dynamic. Headers and contents should expand together. To explain this situation, I added pictured drawed in Paint. I have 5 headers and data which has 2 rows. If you look picture , you can understand what I want.
Thank you.
Re: Text with Header in DataBand
Posted: Thu Feb 24, 2022 10:05 am
by Lech Kulikowski
Hello,
Try to use the Table component with headers and AutoWidth properties.
Thank you.
Re: Text with Header in DataBand
Posted: Thu Feb 24, 2022 12:21 pm
by okahraman
Hello,
Can you share me a demo please? . In my scenario , there is a header and there are datas(multiple rows, it is dynamic data from database) . Table's first row is header and other rows are datas(dynamic). Can you share mrt or json format?
Thank you.
Re: Text with Header in DataBand
Posted: Thu Feb 24, 2022 12:39 pm
by Max Shamanov
Hello,
Please check the following sample:
https://demo.stimulsoft.com/#Net/TableSimpleTable
Thank you.