ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: ticheng on February 03, 2017, 03:12:29 pm
-
I upgraded my pqgrid from v2.0.4 to 2.20, and I tried to use pqselect as an editor of one of the dropdown column. However, I failed to select new values. Please suggest what I can do to fix it. Thank you.
{
title: 'Agree?',
dataIndx: "Agree",
editor: {
type: 'select',
options: [{'Yes': 'Yes'}, {'No':'No'}],
init: function(ui){
ui.$cell.find('select').pqSelect({
deselect: false,
search: false
});
}
}
}
My test code is here: https://jsfiddle.net/kbqex9hz/17/
-
From my test, pqgrid 2.1 have the same problem too.
Anyone have a solution or workaround?
I need the pqselect controls work fine, and the editing data remains when user scroll the grid (the data would rollback in pqgrid 2.0.4).
-
like this?
{
title: 'Agree?',
dataIndx: "Agree",
editor: {
type: 'select',
options: [{'Yes': 'Yes'}, {'No':'No'}],
init: function(ui){
ui.pqSelect({
deselect: false,
search: false
});
}
}
}
-
like this?
{
title: 'Agree?',
dataIndx: "Agree",
editor: {
type: 'select',
options: [{'Yes': 'Yes'}, {'No':'No'}],
init: function(ui){
ui.pqSelect({
deselect: false,
search: false
});
}
}
}
It works fine! Thank you very much.