Table component showcase

Showcase all the different options you have with the table component

App windmill

by sindre svendby964 ยท 8/17/2023

The app

Static preview only: No backend
This is a static preview of the app and there is no backend. As such, the interactivity requiring script execution is non functional. To see the fully functional app, edit/run it in Windmill by clicking the button above.

Scripts used

export async function main(input: string) {
  const data = [
    {
      "id": 1,
      "name": "A cell with a long name",
      "age": 42,
    },
    {
      "id": 2,
      "name": "A briefer cell",
      "age": 84,
    },
  ];

  return data.filter((elem) =>
    elem.name.toLocaleLowerCase().startsWith(input.toLocaleLowerCase())
  );
}