I'm using modern table for display data from collection that was collected from SharePoint List. I also have another panel in container that would visible the detail of any item selected by checking If(!IsBlank(Table.Selected),true,false) in Visible property. As the result I can't get value Table.Selected everytime I click on the record in modern table. sometime selecting It's work sometime it's not. It doesn't stable at all. How should I fix it?
What kind of control or component are you trying to toggle the visibility of?
The Selected property on the Table or DataTable control returns the whole row selected. If you want to display data from it in a text field, for example, you'd have to reference a property of the selected row. So you'd put something like "Table.Selected.Title" or $"{Table.Selected.Title} - {Table.Selected.Description}" in the text or value property.
e.g.
If you want to toggle visibility by whether something is selected, you could do simply
!IsBlank(Table1.Selected)
It's unnecessary to do If(IsBlank(),true,false) since the IsBlank() function returns the same boolean value your If() does. So delete the If() function and just use !IsBlank(Table1.Seletected)
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.