I have a problem with an editable listgrid. This grid has one checkbox column in which the canToggle is set to false because I want to deal with the update myself. My problem is that DsRequest update is sent to the server when I click on this column. I need some ideas on where to debug or what may be causing the update to go back to the server. Basically, I only want to update to go back to the server when the row is already in edit mode.
Below is the listgrid properties from jsconsole:
Below is the request output
[CODE
{
"dataSource":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable$ds",
"operationType":"update",
"componentId":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable",
"data":{
"cwPK__":"2",
"selectedNumber":true,
"telephoneNumber":"8138811914"
},
"showPrompt":false,
"oldValues":{
"cwPK__":"2",
"selectedNumber":true,
"telephoneNumber":"8138811914"
},
"requestId":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable$ds$6275"
}
[/CODE]
Below is the listgrid properties from jsconsole:
Code:
ListGrid{styleName: "multiCardResult",
title: " ",
baseStyle: "multiCardResult",
bodyStyleName: "multiCardResult",
fastCellUpdates: false,
dataSource: "page$content$currentUI$businessLines$blT..."[201],
ID: "page$content$currentUI$businessLines$blT..."[198],
showHeader: false,
hoverStyle: "CwHoverStyle",
modalEditing: true,
recordBaseStyleProperty: "velocityRowStyle",
canSelectText: true,
willHandleErrors: true,
autoFetchData: false,
selectionProperty: "$isCwSelected",
headerButtonProperties: Obj,
width: 445,
height: 100,
fields: Array[5],
position: "absolute",
className: "multiCardResult",
data: [ResultSet ID:isc_ResultSet_1 (created by: page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable)],
selection: [Selection ID:page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable_selection],
selectionType: "multiple",
parentElement: [VLayout ID:page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$cwvLayoutblTelephoneCsrFinderResultTable],
topElement: [VLayout ID:page$$vLayout],
cwIsVisible: true,
canEdit: true,
editEvent: "click",
tabIndex: 10390,
booleanTrueImage: "[SKINIMG]/DynamicForm/checked.png",
booleanFalseImage: "[SKINIMG]/DynamicForm/unchecked.png",
booleanPartialImage: "[SKINIMG]/DynamicForm/partialcheck.png",
booleanImageWidth: 13,
booleanImageHeight: 13,
originalFields: Array[0],
completeFields: Array[5],
canFreezeFields: true,
body: [GridBody ID:page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable_body],
bodies: Array[1],
dragScrollTarget: [GridBody ID:page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable_body],
children: Array[7],
cacheOffsetCoords: true,
zIndex: 203852,
innerWidth: 429,
bodyHeight: 100,
bodyWidth: 445,
dragAppearance: "none",
}
Below is the request output
[CODE
{
"dataSource":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable$ds",
"operationType":"update",
"componentId":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable",
"data":{
"cwPK__":"2",
"selectedNumber":true,
"telephoneNumber":"8138811914"
},
"showPrompt":false,
"oldValues":{
"cwPK__":"2",
"selectedNumber":true,
"telephoneNumber":"8138811914"
},
"requestId":"page$content$currentUI$businessLines$blTelephoneUI$blTelCsrFinderUI$$content$contentFF$businessLinesFormFrame$content$TelephonesFrame$content$changeTelFInderFormFrame$blTelephoneCsrFinderResultTable$ds$6275"
}
[/CODE]
Comment