2025-06-10 - Frontend Variable Object Standard: Difference between revisions
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 difference)
|
Revision as of 10:33, 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"];