Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
423
ultrawebgrid refresh only one row
posted

Hi All,

I have an ultrawebgrid with virtual scrolling ajax.  I select one record and change in in a modal popup window, then when I return from the modal i would like to trigger a

gridLCN.invokeXmlHttpRequest(gridLCN.eReqType.Refresh,

 

null, "");

but I want only the current row to be refreshed and not the whole grid.  I don't want change cell by cell in grid but trigger a refresh only of that row so I don't lose the scroll position of the grid nor it send me to the first record of the grid.

Any ideas are appreciated.

Parents
  • 12679
    posted

    Hello Federico,

    You can specify what kind of request  to be issued to the server check that out :

    eReqType.UpdateCell - the cell that is being updated;

    eReqType.AddNewRow - the rows collection a new row is added to;

    eReqType.Sort - the rows collection that is being sorted;

    eReqType.ChildRows - the row which child rows are requested;

    eReqType.DeleteRow - the row that is being deleted;

    eReqType.UpdateRow - the row that is being updated.

    eReqType.Filter - the rows collection the filter is being applied to;

    eReqType.FilterDropDownFill - the rows collection the filter is being 

    If you want to issue the request from  code running on the child window you can access the parent window through opener.grid.invokeHttpRequest()……

    Please refer the client side object model:

    http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=WebGrid_Object_CSOM.html

    Hope this helps.

     

Reply Children