Hello Isomorphic!
I got an urgent problem which i can't fix or workaround!
Since we bought the Pro-Version we would appreciate if you could fix this problem as soon as possible.
Here is an example code for a showcase example!
If you go to the jsonDataSource or xmlDataSource ->
https://www.smartclient.com/smartcli...jsonDataSource
->
and copy this code to the databound.js
isc.VLayout.create({
members: [
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
dataSource: countryDS,
autoFetchData: true,
canEdit: true,
selectionUpdated: function(record) {
DV1.setData(null);
DV1.fetchData ({countryCode: record.countryCode}, function(dsResponse, data){
})
}
}),
isc.DetailViewer.create({
ID: 'DV1',
dataSource: countryDS,
})
]
})
I got following problem!
-> if you edit a cell in the listGrid and then move to the next row with keyDown you loose the focus and the selection of the next cell!! (which is happening in cause of the fetchData)
-> nevertheless i can't fix this problem and i need the fetchdata to reload the detailviewer
-> it also doesn't work if i use fetchRelatedData
-> or if i directly use countryDS.fetchData({countryCode: record.countryCode}, function(dsResponse, data){ DV1.setData(data) });
-> as soon as i use any kind of fetchData the focus & selection is lost
I found out if i try the same code in the localDataSource ( https://www.smartclient.com/smartcli...ocalDataSource )
it works,-- cause the request is not directly a new fetchData event
Thank You !
best regards Thaddäus!
I got an urgent problem which i can't fix or workaround!
Since we bought the Pro-Version we would appreciate if you could fix this problem as soon as possible.
Here is an example code for a showcase example!
If you go to the jsonDataSource or xmlDataSource ->
https://www.smartclient.com/smartcli...jsonDataSource
->
and copy this code to the databound.js
isc.VLayout.create({
members: [
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
dataSource: countryDS,
autoFetchData: true,
canEdit: true,
selectionUpdated: function(record) {
DV1.setData(null);
DV1.fetchData ({countryCode: record.countryCode}, function(dsResponse, data){
})
}
}),
isc.DetailViewer.create({
ID: 'DV1',
dataSource: countryDS,
})
]
})
I got following problem!
-> if you edit a cell in the listGrid and then move to the next row with keyDown you loose the focus and the selection of the next cell!! (which is happening in cause of the fetchData)
-> nevertheless i can't fix this problem and i need the fetchdata to reload the detailviewer
-> it also doesn't work if i use fetchRelatedData
-> or if i directly use countryDS.fetchData({countryCode: record.countryCode}, function(dsResponse, data){ DV1.setData(data) });
-> as soon as i use any kind of fetchData the focus & selection is lost
I found out if i try the same code in the localDataSource ( https://www.smartclient.com/smartcli...ocalDataSource )
it works,-- cause the request is not directly a new fetchData event
Thank You !
best regards Thaddäus!
Comment