Open qjkobe opened 11 months ago
Hello @qjkobe - Thanks for raising your query. We will look into it and let you know the updates.
We are able to repro this issue.
On setting, "firstRowAsHeaders": false
In MS Teams:
In Adaptive card designer:
We have raised a bug for the same. We will inform you once we get any further update from engineering team. Thanks!
Any updates here? We have the same issue.
@paalolav - Apologies. Currently there is no ETA to share. We are following up with engineering team about this issue. We will update this thread once we hear from them. Thanks!
@Prasad-MSFT Thank you for your reply. I'll watch this space.
Our organization found this same issue while designing adaptive cards for Teams, hoping it gets resolved in the near future.
Hi @qjkobe , @paalolav , @ryjorgs - We got update from engineering team that, Correct name should be firstRowAsHeader
(singular) not firstRowAsHeaders
which specifies whether the first row of the table should be treated as a header row or not.
Schema Ref: https://adaptivecards.io/explorer/Table.html
Engineering team has decided to change the backend accordingly.
Wow! Thank you. I’ve modified a solution which will run on monday morning. Fingers crossed!
Best regards, Pål Olav Loftesnes
On 20 Mar 2024, at 11:58, Prasad-MSFT @.***> wrote:
Hi @qjkobe https://github.com/qjkobe , @paalolav https://github.com/paalolav , @ryjorgs https://github.com/ryjorgs - We got update from engineering team that, Correct name should be firstRowAsHeader (singular) not firstRowAsHeaders which specifies whether the first row of the table should be treated as a header row or not.
Schema Ref: https://adaptivecards.io/explorer/Table.html
Engineering team has decided to change the backend accordingly.
— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/msteams-docs/issues/9241#issuecomment-2009292045, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANFQVJ4574PP45D6MS7I5F3YZFTUZAVCNFSM6AAAAAA3TX4STOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZGI4TEMBUGU. You are receiving this because you were mentioned.
Using the singular 'firstRowAsHeader' still didn't work for me in teams. As a temporary workaround, you can add an empty row as the first row to your table and this should produce the expected result.
the .net package AdaptiveCards version 3.1.0 has in AdaptiveTable onl< FirstRowHeaders, which is not working, the property FirstRowHeader is missing...
Let's use the same adptive card json:
In adaptive, it is renderred as:
But in Teams, it is renderred as:
It's obvious that the text in first row is bold. That mean the property "firstRowAsHeaders" doesn't work.