2025-06-10 - Frontend Variable Object Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "==initTableConfig== export const NAME = { USER_NAME: "tableIdB", SLICE_NAME: "configReducer", }; ==tableConfig== <syntaxhighlight lang="JavaScript"> let objConfig = useSelector((state) => state[NAME.SLICE_NAME][USER_NAME]); //config edit let objOutputTableConfig = useSelector((state) => state[NAME.SLICE_NAME][USER_NAME]); //output action ui visible edit let keySection </syntaxhighlight> if position in Element = objConfigElement ==ElementComponent== <synt...")
 
No edit summary
 
Line 43: Line 43:


  </syntaxhighlight>
  </syntaxhighlight>
[[Category:Working documents| 2025-06-10]]

Latest revision as of 10:34, 10 June 2025

initTableConfig

export const NAME = {

 USER_NAME: "tableIdB",
 SLICE_NAME: "configReducer",

};

tableConfig

 let objConfig = useSelector((state) => state[NAME.SLICE_NAME][USER_NAME]); //config edit

 let objOutputTableConfig = useSelector((state) => state[NAME.SLICE_NAME][USER_NAME]); //output action ui visible edit

 let keySection

if position in Element = objConfigElement

ElementComponent

const getObjectSchema = sharedSchema.getObjectSchema;

    const elementTypeHeaderFooter = [
      "sort",
      "freetext",
      "numberOfRows",
      "filterDatafield",
      "select",
      "redio",
      "checkbox",
      "datafield",
      "totalDatafield",
      "pageNumbers",
      "submit",
      "reset",
      "bulkaction",
    ];
    const elementTypeRecords = ["datafield", "freetext", "bulkaction"];