Author Topic: Inline edit with dropwdown values  (Read 1556 times)

neoinbiz

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 22
    • View Profile
Inline edit with dropwdown values
« 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 } },

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Inline edit with dropwdown values
« Reply #1 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 } },