I have a editable grid with 3 columns: a id, question, grade. I need the id col

I have a editable grid with 3 columns: a id, question, grade. I need the id column to save off that value but I want to hide it from view to all users. How can I hide this column?

OriginalPostID-140506

OriginalPostID-140506

  Discussion posts and replies are publicly visible

Parents
  • Hi
    You can save this id using another field which is required like grade.

    you have to use this code into the saveInto parameter of grade dropdown

    In apply Components:
    saveInto:{
    a!save(ri!selectedIds[ri!index],ri!item[ri!index].id)
    }

    In foreach loop
    saveInto:{
    a!save(ri!selectedIds[fv!index],ri!item[fv!index].id)
    }

    Where ri!items is complete which have 3 fields id, question and grade
    ri!index is the index of row for editable grid
    ri!selectedId is the field in which we want to store id.

    Thanks
Reply
  • Hi
    You can save this id using another field which is required like grade.

    you have to use this code into the saveInto parameter of grade dropdown

    In apply Components:
    saveInto:{
    a!save(ri!selectedIds[ri!index],ri!item[ri!index].id)
    }

    In foreach loop
    saveInto:{
    a!save(ri!selectedIds[fv!index],ri!item[fv!index].id)
    }

    Where ri!items is complete which have 3 fields id, question and grade
    ri!index is the index of row for editable grid
    ri!selectedId is the field in which we want to store id.

    Thanks
Children
No Data