Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Grid in a grid

    I am trying to populate a grid in a grid. I am using the LGPL version. I take the embeded grid example code from SDK and tried to write my own code(Client only).My firstt main grid is displaying correctly but when I am double clicking any row, the embeded grid is not populating.I tried to search the JS function "openRecordDetailGrid()" in document but could not find it as on double click of main grid row I am calling this method as following:

    var r = mainList.getSelectedRecord();
    if (r) {
    categoryList.openRecordDetailGrid(r,embItem);
    }
    where "mainList" is my main grid ID. And "embItem" is my datasource for embeded grid.

    Any help ?

    #2
    So... what happens? JavaScript error? Have you verified your code is called and that the parameters you are passing are non-null?

    Note by the way that this is marked as an "experimental" feature - no docs, functionality may change without notice and without backwards compatibility, and you are intended to use the source code as reference. If you are interested in sponsoring a project to make this a supported feature of SmartClient LGPL, contact Isomorphic here.

    Comment


      #3
      I am not getting any JavaScript error.Parameters are also not null.The method categoryList.openRecordDetailGrid(r,embItem) is also called but my embeded grid is not populating.Thats why I was searching the method "openRecordDetailGrid()" in docs...

      Comment


        #4
        If the Experimental example is working for you, your code should work as well. As you can see in the source, you're making the same method call SmartClient does. Double check the parameters you are passing.

        Comment

        Working...
        X