ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: neoinbiz on July 09, 2020, 12:29:52 am

Title: Inline edit with dropwdown values
Post by: neoinbiz on July 09, 2020, 12:29:52 am
I have a column that is has a drop down for Yes/No and I want a dropdown to for the inline edit mode. I do not want user to have to type Yes/No just make a selection.
My Yes/No values are choice columns within SharePoint list and not the Yes/No filed itself.

Code: [Select]
{ title: "CSSP Accepted", editable:true, width: "8%", align: "center", dataIndx: "CSSPaccepted", dataType: "string", filter: { crules: ruleR } },
Title: Re: Inline edit with dropwdown values
Post by: EPM Solutions on July 09, 2020, 08:35:06 am

Please add this editor object in your column and it will work for you


editor: {
               type: "select",
               options:['Yes','No']
  }

Your updated snippet code-

{ title: "CSSP Accepted", editable:true, width: "8%", align: "center", dataIndx: "CSSPaccepted", dataType: "string",editor: { type: "select", options:['Yes','No'] }, filter: { crules: ruleR } },