Hi All,
I have a gallery when it is empty the Edit icon should not be allowed to click or it should notify "No rows are added to edit". If the gallery has values saved in SharePoint list then edit icon must be visible to edit the details in the gallery.
If I add notification even though the gallery has data it shows the "No rows are added to edit" message.
If(
IsBlank(glrgate_4),
Notify(
"No rows are there to edit",
NotificationType.Information,
1000
),
!IsBlank(glrgate_4),
UpdateContext(
{
GlrPhaseWiseVisiblity: DisplayMode.Edit,
SaveIconVisible: true,
ResetIconVisible: true,
EditIconVisible: false,
AddIconVisible: true
}
)
)
I gave this code too but still t is not working.
Any suggestion on this?