Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: enable grid view for CoreList component #412 #413

Open
wants to merge 10 commits into
base: development
Choose a base branch
from
43 changes: 37 additions & 6 deletions package/components/dataDisplay/CoreList.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,51 @@ CoreList.validProps = [
{
default : "DEFAULT",
type : "string",
validValues: ["DEFAULT", "HTML", "GRID"]
validValues: ["DEFAULT", "HTML", "grid"]
}
],
},
{
description: "The content of the subheader, normally ListSubheader.",
name : "gridItemComponent",
description: "This helps to add gridProps into the children of corelist.",
name : "itemGridProps",
types : [{ type: "object" }],
},
{
description: "This helps to add StyleClasses into the children of corelist.",
name : "itemStylesProps",
types : [{ type: "object" }],
},
{
description: "This helps to add toolbox to selaect the size in the corelist.",
name : "enableToolbar",
types : [
{
default : "2",
type : "string",
validValues: ["2", "3", "4", "6"]
default : false,
type : "boolean",
validValues: [true, false]
}
],
},
{
description: "This helps to add Searchbar in the toolbar of corelist.",
name : "enableSearch",
types : [
{
default : false,
type : "boolean",
validValues: [true, false]
}
]
},
{
description: "This helps to take json file of corelist.",
name : "items",
types : [{ type: "object" }],
},
{
description: "This helps to add Searchbar in the toolbar of corelist.",
name : "JSONOptions",
types : [{ type: "object" }],
}
];

Expand Down
Loading