Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

date ListGridField: change handler doesn't fire after editing or deleting the date

$
0
0
SmartClient Version: v10.0p_2015-05-20/Enterprise Development Only (built 2015-05-20)

chrome on OSX

Please modify the #editByRow sample like this:

Code:

isc.ListGrid.create({
    ID: "countryList",
    width:550, height:224, alternateRecordStyles:true, cellHeight:22,
    // use server-side dataSource so edits are retained across page transitions
    dataSource: countryDS,
    // display a subset of fields from the datasource
    fields:[
        {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
        {name:"countryName"},
        {name:"continent"},
        {name:"member_g8"},
        {name:"population"},
        {name:"independence",
          change:function(form, item, value){
          isc.logEcho('independence change')
        }}   
    ],
    autoFetchData: true,
    canEdit: true,
    editEvent: "click"
})

you'll see that if you edit or delete a date, the change handler doesn't fire.

Viewing all articles
Browse latest Browse all 4756

Trending Articles