locked
Sorting On Custom Filter Lookup View RRS feed

  • Question

  • Hi,

    we have created a custom filter lookup view at runtime and displaying the view on click of lookup Button. By default the results are not sorted .we have only one coloumn in the lookup view. when we click on the coloumn heading then sorting is applied. so how can we get sorting by default? Also please find the below code which we  have used,

    var layoutXml = "<grid name='resultset' " + "object='1' " + "jump='" + attributename1 + "' " + "select='1' " + "icon='1' " + "preview='1'>" +

    "<row name='result' " + "id='" + entityId + "'>" + "<cell name='" + attributename1 + "' " + "width='300' " + "disableSorting='1' />" + "</row>" + "</grid>";

    if we remove the "disableSorting='0'" or   "disableSorting='1'" we are getting error on click of the lookup button. if we remove that, default sorting is not applied.

    Are we missing anything?

     

    Thanks,

    srinivas.



     


    srinivas
    Monday, December 12, 2011 4:06 PM

Answers

  • Hi,

    Microsoft has considered this as a bug and assured us that this would be solved in future Roll ups.

    Thanks,


    srinivas

    Tuesday, February 14, 2012 5:28 PM

All replies