Announcement

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

    Selecting new row in listGrid

    Hi,

    When adding a new row in a listGrid and after adding the data, I want to be able to select the row before saving the edits in it.

    This is required because if the user starts a new row and wants to delete it without deleting the other rows, he cannot do that.

    Is there any way to select the new row of a listGrid with selection appearance as checkbox without affecting the other selected rows?


    P.S.:
    I am using: SmartGWT1.2 nightly build of 20090825
    GWT 1.6.4
    Internet Explorer 7

    Thanks

    #2
    Did you already try selectRecord()?

    Comment


      #3
      Hi Isomorphic,

      I tried selectRecord(10) where 10 is the rowNum of the new added record and the record was not selected.

      I did not get any error.

      Comment


        #4
        Note that as to your original question:
        1. hitting the Escape key in an unsaved record discards it
        2. canRemoveRecords provides an interface for removing any record

        Comment

        Working...
        X