Advertisement
42ama

Как заблокировать колонку в редактируемом реестре

Nov 25th, 2021
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. getCellControlsConfig: function(entitySchemaColumn) {
  2. const config = ConfigurationGridUtilities.getCellControlsConfig(entitySchemaColumn);
  3.  
  4. const columnName = entitySchemaColumn.name;
  5.  
  6. if (columnName === "NrbDoctor" ||
  7. columnName === "Name" ||
  8. columnName === "NrbDoctorPlan" ||
  9. columnName === "NrbDelta") {
  10. config.enabled = false;
  11. }
  12.  
  13. return config;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement