Announcement

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

    Execute action when canRemoveRecords in a ListGrid

    Version 8.3



    Hi all,

    I have a Listgrid with:

    canRemoveRecords: true

    as an attibute.

    My question is, Is possible to execute more actions when the user clicks that icon? Could I call a function? after or before the row is eliminated?

    Code:
    isc.ListGrid.create({
    		    ID: 'products',
    		    height: 450, 
    		    width: 500,  
    		    alternateRecordStyles: true, 
    		    canRemoveRecords: true,	
                        fields: [
                        ........
                        ]
    });

    Thanks in advance.

    #2
    help

    Isomorphic could you please help me?

    I just need to call a function having the reference of the record that was removed from the grid.
    Are there any similar example in the SC reference?

    Thanks

    Comment


      #3
      You can override removeRecordClick to perform additional operations.

      Comment


        #4
        thanks

        Thanks david, that's what Im looking for!

        Comment

        Working...
        X