It should also work this way (at least it works in my project)
userStore.load({
params: {
col: ['one','two','three','four']
}
});
@ExtDirectMethod(STORE_READ)
public ExtDirectStoreResult<User> read(ExtDirectStoreReadRequest readRequest, @RequestParam("col") List<String> columns) {
}
You can omit @RequestParam if the names match and the java code is compiled with debug informations on.
userStore.load({
params: {
columns: ['one','two','three','four']
}
});
@ExtDirectMethod(STORE_READ)
public ExtDirectStoreResult<User> read(ExtDirectStoreReadRequest readRequest, List<String> columns) {
}