Wednesday, July 13, 2016

+ Subgrid function custom javascript override in Dynamics CRM

+ Subgrid in Dynamics CRM

It is not possible to override the "+" sign sub grid custom java-script function. Please find below analyse points.

I analysed how sub-grid behaviour works by default, If I change the sub grid "+" command definition in ribbon work bench, how will it accept?

  1. New= open New form in a same window.
  2. Add New= Open new form in a separate window
  3. Add existing {0}=Open existing lookup in the sub grid.


1) If you write custom command rule and change the command rule of the 3 button and publish the ribbon.
Before

When you click "+" sign in the sub grid  instead of display the lookup, New form will open in separate window

After

2) If you write custom command rule and change the command rule of the 2 and 3 button and publish the ribbon.
Before

When you click "+" sign in the sub grid  instead of display New form in separate window it open in the same tab.

3) If you write custom command rule and change the command rule of the 1,2 and 3 button and publish the ribbon.


 "+" sign in the sub grid  disabled

After

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.