Announcement

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

    ListGrid with foreign key and editing new record

    Hi,
    I have 2 ListGrid's connected by foreign key field.
    Fetch is working correctly by fetchRelatedData() but I cannot pass by creation of new record in second ListGrid(with foreign key).
    How can I access edited data before they will be sent to server?
    I'm tring to add foreign key value in RowEditorExitHandler but I cannot modify the data.
    I've tried to get Record by event.getRecord() and
    listGrid.getEditedRecord(event.getRowNum())
    and several other ways but so far with no success.
    Can anybody direct me to the right approach??

    #2
    same problem

    Trying to workaround the issue regarding the getSelectedRecord method, I have just realized that event.getRecord returns null in the onCellSavedHandler and event.getRowNum caused an exception :-(
    Last edited by falco; 18 May 2009, 09:30.

    Comment


      #3
      Hi,

      Have a look here:
      http://forums.smartclient.com/showthread.php?t=5561

      Comment

      Working...
      X