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
1705
Request more rows from javascript
posted

Hey guys we have a combo box that loads the rows asynchronously. It seems to work fine except when we try to set the selected value using ajax to a value that has not been loaded into the combo yet but it is actually part of the dataset.

Is there a way to "request" more rows using javascript so the combo box loads at least the right amount of rows so the value we are looking it's part of the rows collection?

 

THANKS !

Parents
  • 14049
    Offline posted
    Hello,

    You can try to invoke XmlHttp request (aka Ajax request) off the
    embedded grid and the in the grid's AfterXmlHttpResponseProcessed event
    try to locate the value in the cells that were sent from the server.
    To request more rows:
    combo.grid.invokeXmlHttpRequest(combo.grid.eReqType.MoreRows);
Reply Children