I am sorry for typo, in the query scope, you should use table1.selectedSourceRow
or selectedRow
; currentSourceRow
should be use in the scope of column, such as event handler of column click, change.
could you let me know more about your use case? Are you want to trigger the del query in when action is click? if so, you should use script as event handler of action. and pass currentSourceRow in additionalScope to this del query.
then in the query scope you can refer to it.
Here is screenshot of my code.
then you can refer to currentSourceRow
with {{currentSourceRow}}
in the del query.
Delete.trigger({
additionalScope:{
currentSourceRow:table2.selectedSourceRow
}, onSuccess(data){
query1.trigger();
}
})
here is document of additionalScope