File tree Expand file tree Collapse file tree 14 files changed +44
-15
lines changed
paginated_rest_datasource Expand file tree Collapse file tree 14 files changed +44
-15
lines changed Original file line number Diff line number Diff line change 1- A simple table example with just local data stored as ` Vec<Book> ` Uses the Bootstrap class provider.
1+ ### A simple table example with just local data stored as ` Vec<Book> ` Uses the Bootstrap class provider.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- Example that shows how use custom renderers to render the table as SVG.
1+ ### Example that shows how use custom renderers to render the table as SVG.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- A simple table example with just local data stored as ` Vec<Book> ` demonstrating a custom row renderer and skipping header titles.
1+ ### A simple table example with just local data stored as ` Vec<Book> ` demonstrating a custom row renderer and skipping header titles.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- A table example with custom local data stored as ` Vec<Rc<Book>> ` .
1+ ### A table example with custom local data stored as ` Vec<Rc<Book>> ` .
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- A table example with editable cells and data that is stored as ` Vec<Book> ` .
2- Uses the Tailwind class provider.
1+ ### A table example with editable cells and data that is stored as ` Vec<Book> ` .
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
4+
5+ #### Uses the Tailwind class provider.
36
47The way Tailwind works, is to scan the classes in the code. Due to this it is
58recommended to copy the file ` src/class_providers/tailwind.rs ` into your project as done in this example.
Original file line number Diff line number Diff line change 1- A table example with a generic struct.
1+ ### A table example with a generic struct.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- A table example with a getter method.
1+ ### A table example with a getter method.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- A simple table example showing how to integrate leptos-i18n to translate the titles.
1+ ### A simple table example showing how to integrate leptos-i18n to translate the titles.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- Example that shows how to use a paginated REST API as a data source for a table.
1+ ### Example that shows how to use a paginated REST API as a data source for a table.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
Original file line number Diff line number Diff line change 1- Example that shows how to use pagination with a table.
1+ ### Example that shows how to use pagination with a table.
2+
3+ To make this example work, you must download / fork the whole repo because this is in the Cargo.toml: ` leptos-struct-table = { path = "../.." } ` .
24
35If you don't have it installed already, install [ Trunk] ( https://trunkrs.dev/ )
46as well as the wasm32-unknown-unknown target:
You can’t perform that action at this time.
0 commit comments