Text with Header in DataBand

Stimulsoft Dashboards.JS discussion
Post Reply
okahraman
Posts: 5
Joined: Tue Feb 22, 2022 12:37 pm

Text with Header in DataBand

Post 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?
Attachments
trial.mrt
(15.4 KiB) Downloaded 130 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Text with Header in DataBand

Post by Lech Kulikowski »

okahraman
Posts: 5
Joined: Tue Feb 22, 2022 12:37 pm

Re: Text with Header in DataBand

Post 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
Attachments
pic2.png
pic2.png (29.59 KiB) Viewed 1793 times
pic1.png
pic1.png (3.25 KiB) Viewed 1793 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Text with Header in DataBand

Post by Lech Kulikowski »

Hello,

Please set the AutoWidth to false for text components.

Thank you.
okahraman
Posts: 5
Joined: Tue Feb 22, 2022 12:37 pm

Re: Text with Header in DataBand

Post 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.
Attachments
pic.png
pic.png (1.85 KiB) Viewed 1775 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Text with Header in DataBand

Post by Lech Kulikowski »

Hello,

Try to use the Table component with headers and AutoWidth properties.

Thank you.
okahraman
Posts: 5
Joined: Tue Feb 22, 2022 12:37 pm

Re: Text with Header in DataBand

Post 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.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Text with Header in DataBand

Post by Max Shamanov »

Hello,

Please check the following sample: https://demo.stimulsoft.com/#Net/TableSimpleTable

Thank you.
Post Reply