Constant value in create/edit form

You can use SELECT edit type and populated with only a single item, e.g.

$dg→set_col_edittype(“c_keyuser”, “select”, “1:”.$SESSION["USERCODE"]).

It’s a workaroud but it should work.

Datagrid Edit

  1. Constant value in create/edit form
  2. Display column in grid but hide when edit
  3. inline editing limited to single cell
  4. Get value from a specific cell from selected row
  5. phpGrid insert error - Need to hide primary key during edit
  6. Unable to edit
  7. Use arrow key to navigate a grid
  8. WYSIWYG doesn't work
  9. Editable Datagrid with Add Only Ability
  10. Change edit properties without modifying the source code
  11. Auto Increment (auto-increment) Field validation Due to Underscore Character in Primary Key
  12. CRUD (Create, Remove, Update, Delete) Not Working
  13. Dropdown Concatenation
  14. Cannot save record back to database. How to debug?
  15. Show a column as link based on value of another column
  16. Verify uniqueness of a new value entered when edited or added through phpGrid before saving
  17. Soft-delete record by flagging a value
  18. Must fill every fields to save, or nothing gets saved!
  19. Displaying TIMESTAMP Fields in an Editable Grid
  20. Datetime Format
  21. Create edit type "select" options manually from SQL query
  22. Datetime in datepicker
  23. Access local array data source
  24. How to Obtain Entire Datagrid Data as an Array?
  25. Center Add/Edit Form
  26. Save stored value in PHP Session when inserting
  27. Save Local Data Array Back to Server via Ajax
  28. How to set the "select" col_edittype be readonly?
  29. Dynamic dropdown based on cell value in a row.
  30. How to Increase Size of Multiple Select in Edit Form
  31. Save Data in Calculated/Virtual Column to Database
  32. Sorting columns with Key-Value pairs when edit type is "select"
  33. Sorting columns with Key-Value pairs when edit type is "select"
  34. Week start on Monday

Feedback and Knowledge Base