-
Notifications
You must be signed in to change notification settings - Fork 35
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
Sample für Tabellen mit horizontalem Scrollen #6723
Sample für Tabellen mit horizontalem Scrollen #6723
Conversation
Netlify Draft Deployment |
Refs: #6718
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Makko74,
sehr anschauliches Beispiel - vielen Dank.
Wir möchten gerne, dass das ganze Sample in einer TSX-Datei ist.
Bei den Daten möchten wir gerne lieber Tier, Pflanzen oder Natur-Daten haben. Bitte keine personenbezogenen Daten im Beispiel verwenden.
Ich habe mal einen Beispieldatensatz generieren lassen. 50 Einträge bei einer Seitengröße von 10 sollten auch genügen. [
{
"name": "Elephant",
"species": "Loxodonta",
"habitat": "Savannah",
"diet": "Herbivore",
"lifespan": 60
},
{
"name": "Tiger",
"species": "Panthera tigris",
"habitat": "Forest",
"diet": "Carnivore",
"lifespan": 20
},
{
"name": "Kangaroo",
"species": "Macropus",
"habitat": "Grassland",
"diet": "Herbivore",
"lifespan": 23
},
{
"name": "Penguin",
"species": "Aptenodytes forsteri",
"habitat": "Antarctica",
"diet": "Carnivore",
"lifespan": 20
},
{
"name": "Giraffe",
"species": "Giraffa camelopardalis",
"habitat": "Savannah",
"diet": "Herbivore",
"lifespan": 25
},
{
"name": "Panda",
"species": "Ailuropoda melanoleuca",
"habitat": "Forest",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Dolphin",
"species": "Delphinus delphis",
"habitat": "Ocean",
"diet": "Carnivore",
"lifespan": 40
},
{
"name": "Eagle",
"species": "Aquila chrysaetos",
"habitat": "Mountains",
"diet": "Carnivore",
"lifespan": 30
},
{
"name": "Koala",
"species": "Phascolarctos cinereus",
"habitat": "Forest",
"diet": "Herbivore",
"lifespan": 18
},
{
"name": "Lion",
"species": "Panthera leo",
"habitat": "Savannah",
"diet": "Carnivore",
"lifespan": 15
},
{
"name": "Zebra",
"species": "Equus quagga",
"habitat": "Savannah",
"diet": "Herbivore",
"lifespan": 25
},
{
"name": "Wolf",
"species": "Canis lupus",
"habitat": "Forest",
"diet": "Carnivore",
"lifespan": 14
},
{
"name": "Cheetah",
"species": "Acinonyx jubatus",
"habitat": "Savannah",
"diet": "Carnivore",
"lifespan": 12
},
{
"name": "Polar Bear",
"species": "Ursus maritimus",
"habitat": "Arctic",
"diet": "Carnivore",
"lifespan": 25
},
{
"name": "Rhinoceros",
"species": "Rhinocerotidae",
"habitat": "Savannah",
"diet": "Herbivore",
"lifespan": 40
},
{
"name": "Hippopotamus",
"species": "Hippopotamus amphibius",
"habitat": "Rivers",
"diet": "Herbivore",
"lifespan": 45
},
{
"name": "Chimpanzee",
"species": "Pan troglodytes",
"habitat": "Forest",
"diet": "Omnivore",
"lifespan": 50
},
{
"name": "Orangutan",
"species": "Pongo",
"habitat": "Forest",
"diet": "Omnivore",
"lifespan": 45
},
{
"name": "Leopard",
"species": "Panthera pardus",
"habitat": "Forest",
"diet": "Carnivore",
"lifespan": 17
},
{
"name": "Hyena",
"species": "Hyaenidae",
"habitat": "Savannah",
"diet": "Carnivore",
"lifespan": 25
},
{
"name": "Crocodile",
"species": "Crocodylidae",
"habitat": "Rivers",
"diet": "Carnivore",
"lifespan": 70
},
{
"name": "Alligator",
"species": "Alligatoridae",
"habitat": "Swamps",
"diet": "Carnivore",
"lifespan": 50
},
{
"name": "Ostrich",
"species": "Struthio camelus",
"habitat": "Savannah",
"diet": "Omnivore",
"lifespan": 40
},
{
"name": "Flamingo",
"species": "Phoenicopterus",
"habitat": "Lakes",
"diet": "Omnivore",
"lifespan": 30
},
{
"name": "Peacock",
"species": "Pavo cristatus",
"habitat": "Forest",
"diet": "Omnivore",
"lifespan": 20
},
{
"name": "Parrot",
"species": "Psittaciformes",
"habitat": "Forest",
"diet": "Omnivore",
"lifespan": 50
},
{
"name": "Toucan",
"species": "Ramphastidae",
"habitat": "Forest",
"diet": "Omnivore",
"lifespan": 20
},
{
"name": "Sloth",
"species": "Folivora",
"habitat": "Forest",
"diet": "Herbivore",
"lifespan": 30
},
{
"name": "Armadillo",
"species": "Dasypodidae",
"habitat": "Grassland",
"diet": "Omnivore",
"lifespan": 15
},
{
"name": "Anteater",
"species": "Myrmecophaga tridactyla",
"habitat": "Forest",
"diet": "Insectivore",
"lifespan": 14
},
{
"name": "Bat",
"species": "Chiroptera",
"habitat": "Caves",
"diet": "Omnivore",
"lifespan": 20
},
{
"name": "Otter",
"species": "Lutrinae",
"habitat": "Rivers",
"diet": "Carnivore",
"lifespan": 16
},
{
"name": "Beaver",
"species": "Castor",
"habitat": "Rivers",
"diet": "Herbivore",
"lifespan": 24
},
{
"name": "Moose",
"species": "Alces alces",
"habitat": "Forest",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Deer",
"species": "Cervidae",
"habitat": "Forest",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Bison",
"species": "Bison bison",
"habitat": "Grassland",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Buffalo",
"species": "Syncerus caffer",
"habitat": "Savannah",
"diet": "Herbivore",
"lifespan": 25
},
{
"name": "Camel",
"species": "Camelus",
"habitat": "Desert",
"diet": "Herbivore",
"lifespan": 50
},
{
"name": "Llama",
"species": "Lama glama",
"habitat": "Mountains",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Alpaca",
"species": "Vicugna pacos",
"habitat": "Mountains",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Goat",
"species": "Capra aegagrus hircus",
"habitat": "Mountains",
"diet": "Herbivore",
"lifespan": 18
},
{
"name": "Sheep",
"species": "Ovis aries",
"habitat": "Grassland",
"diet": "Herbivore",
"lifespan": 12
},
{
"name": "Cow",
"species": "Bos taurus",
"habitat": "Grassland",
"diet": "Herbivore",
"lifespan": 20
},
{
"name": "Pig",
"species": "Sus scrofa domesticus",
"habitat": "Farm",
"diet": "Omnivore",
"lifespan": 15
},
{
"name": "Chicken",
"species": "Gallus gallus domesticus",
"habitat": "Farm",
"diet": "Omnivore",
"lifespan": 10
}
] |
Refs: #6718
...mples/react/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx
Outdated
Show resolved
Hide resolved
…izontalem-scrollen
...mples/react/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx
Show resolved
Hide resolved
…izontalem-scrollen Signed-off-by: Makko74 <marco.leithold@iso-gruppe.com>
…izontalem-scrollen
@laske185 bitte noch einmal nach reviewn, danke. |
Refs: #6718