locked
Sort subgrid using invisible column in subgrid RRS feed

  • Question

  • Hi friends,

        I am using subgrid to show all stage details in opportunity form.For this scenario i need to sort stage details, So i am using stageno(wholenumber) field.its working fine.My requirement is when i sort this stagedetails in subgrid the stageno field should not be shown. can any one suggest me a solution.

    Thanx in advance.


    Arun Kumar G

    Friday, December 6, 2013 5:02 AM

All replies

  • try to do it filter view of view in entity

    if it does not work go for the javascript

    http://mubashersharif.blogspot.in/2013/05/how-to-filter-sub-grid-using-Javascript-in-CRM-2011.html


    ms crm

    • Proposed as answer by MubasherSharif Sunday, December 8, 2013 9:45 AM
    Friday, December 6, 2013 5:41 AM
  • Hi Reddy A,

    The script given in the link seems to work fine in filtering but it is not sorting based on the attribute in fetch xml. Can i include or remove the sort field in view to display. If i include the sort field, then it is working fine by using sort columns property and here i dont want this sort field to display. Please suggest.


    Arun Kumar G

    Thursday, December 12, 2013 4:26 AM
  • Hi Arun,

    Why cannot to use optionset to store the stage details, so that it will be stored with stagedetails/stageno (key/pair)?

    Regards,


    Prabhu G

    Thursday, December 12, 2013 7:16 AM