Hi Everyone,
Today I was working on adding some button on the Subgrid and the requirement was to show the button when at least single record is selected.
We can easily achieve this using a Enable Rule - Selection Count Rule. Here is the enable rule of the same, we just have to attach this rule to the button command.
Hope this helps.
--
Happy 365'ing
Gopinath
Today I was working on adding some button on the Subgrid and the requirement was to show the button when at least single record is selected.
We can easily achieve this using a Enable Rule - Selection Count Rule. Here is the enable rule of the same, we just have to attach this rule to the button command.
<EnableRule
Id="...SelectionCount.EnableRule">
<SelectionCountRule
AppliesTo="PrimaryEntity"
Minimum="1" Default="false"
/>
</EnableRule>
Hope this helps.
--
Happy 365'ing
Gopinath
No comments:
Post a Comment