Setting A Single Tr In A Row To Colspan='100%' Causes The Other Rows ...
Có thể bạn quan tâm
We are evaluating the React Grid component for our application and need to be able to have rows that span all columns. To do this, I have created a rowRender function that, for some rows, will render a single <td> element with the colspan set to 100%. The row renders fine, but the other rows, that have multiple <td> elements do not all render correctly. For my test application, they will render with a width of 8 pxs. On resize of a column, they will almost render correctly.
Here are some pictures of the issue in our test code.
https://drive.google.com/open?id=1bMwlUi7-7QiVHc6lubPiz45svHG1FSnS
I have created a sandbox that sort of reproduces the bug. https://codesandbox.io/s/w73v0x0mz8
If you select the "Show Full Row", the row with Id 999 will convert to a single <td> element with colspan='100%'. You will notice how after doing so, the last three columns collapse to a small number of pixels.
Thanks
Joe
Add a Comment Your Comment Attach files (Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif) Post Comment 3 comments Joe Posted on: 11 Jan 2019 15:43 Thanks for helping me out. I had a feeling I was causing the problem... ADMIN Stefan Posted on: 11 Jan 2019 07:13 Hello, Joe, Thank you for the example. The issue occurs because of the colSpan property accept only numbers and setting it to 100% breaks the rendering on the table: https://www.w3schools.com/tags/att_td_colspan.asp "Specifies the number of columns a cell should span." If the colSpan is set to the number of columns than the example is working as expected: https://codesandbox.io/s/n45z5y2r44 Regards, Stefan Progress Telerik Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items Joe Posted on: 10 Jan 2019 02:42 Correction, that should be a <td> element in the title, not a <tr> element. Create an account Log In View- Recently Updated
- New Items
- Most Popular
- Status Info
- All
- Bug Report
- Feature Request
- All
- Completed (178)
- Declined (55)
- Duplicated (11)
- In Development (2)
- Need More Info (7)
- Planned (8)
- Under Review (6)
- Unplanned (462)
- Won't Fix (12)
- All
- KendoReact
- ActionSheet
- AIPrompt
- Animation
- AppBar
- ArcGauge
- AutoComplete
- Avatar
- Badge
- Barcode
- BottomNavigation
- Breadcrumb
- Button
- ButtonGroup
- Calendar
- Card
- Chart
- Checkbox
- Chip
- ChipList
- ChunkProgressBar
- CircularGauge
- ColorGradient
- ColorPalette
- ColorPicker
- ComboBox
- ContextMenu
- Conversational UI
- Data Grid
- Data Query
- Date Math
- DateInput
- DatePicker
- DateRangePicker
- DateTimePicker
- Dialog
- Drag & Drop
- Drawer
- Drawing
- DropDownButton
- DropDownList
- DropDownTree
- Editor
- Error
- Excel Export
- ExpansionPanel
- ExternalDropZone
- File Saver
- FileManager
- Filter
- FlatColorPicker
- FloatingActionButton
- FloatingLabel
- FontIcon
- Form
- Gantt
- Gauge
- GridLayout
- Hint
- Input
- Label
- LinearGauge
- ListBox
- ListView
- Loader
- Map
- MaskedTextBox
- Menu
- MultiColumnComboBox
- MultiSelect
- MultiSelectTree
- MultiViewCalendar
- Notification
- NumericTextBox
- OrgChart
- Page Templates / Building Blocks
- Pager
- PanelBar
- PDF Processing
- PDF Viewer
- PivotGrid
- Popover
- Popup
- ProgressBar
- QR Code
- RadialGauge
- RadioButton
- RadioGroup
- RangeSlider
- Rating
- Ripple
- Sankey
- Scheduler
- ScrollView
- Signature
- Skeleton
- Slider
- Sortable
- Sparkline
- SplitButton
- Splitter
- Spreadsheet
- StackLayout
- Stepper
- StockChart
- SVGIcon
- Switch
- TabStrip
- TaskBoard
- TextArea
- TextBox
- TileLayout
- Timeline
- TimePicker
- Toolbar
- Tooltip
- TreeList
- TreeView
- Typography
- Upload
- VS Code Extension
- Window
Từ khóa » Html Table Td Colspan All
-
Colspan All Columns - Html - Stack Overflow
-
Colspan All Columns In HTML - Weston Ganger
-
HTML Td Colspan Attribute - W3Schools
-
Td Colspan All Code Example - Html
-
Html – Colspan All Columns - ITecNote
-
Table Rowspan And Colspan In HTML Explained (With Examples) »
-
Column-span - CSS: Cascading Style Sheets - MDN Web Docs
-
HTML | Colspan Attribute - GeeksforGeeks
-
Colspan All Columns - Newbedev
-
CSS Colspan: How To Create Multiple Columns In Your HTML Tables
-
Dynamic Colspan / Colspan All Columns On Bootstrap Sample
-
Html - Colspan All Columns - MLink Developer Q&A
-
Colspan All Columns - Mdn Understanding Wcag, Guideline 1.4 ...
-
Tables In HTML Documents