diff --git a/litmus/bugs/GridOnFetchRecords.tsx b/litmus/bugs/GridOnFetchRecords.tsx new file mode 100644 index 000000000..d6f866153 --- /dev/null +++ b/litmus/bugs/GridOnFetchRecords.tsx @@ -0,0 +1,60 @@ +import { bind, createAccessorModelProxy, createFunctionalComponent, KeySelection } from "cx/ui"; +import { Grid, GridColumnConfig } from "cx/widgets"; + +const tags = ["history", "american", "crime", "tets"].map((tag) => ({ + name: tag, + id: tag, +})); + +interface Model { + $page: { + showGrid: boolean; + tag: string; + }; +} + +const m = createAccessorModelProxy(); + +const columns = [ + { + field: "id", + header: "ID", + }, + { + field: "title", + header: "Title", + }, + { + field: "body", + header: "Body", + }, +] as GridColumnConfig[]; + +export default createFunctionalComponent(() => ( + + {/*