TileLayoutProps
Represents the properties of [TileLayout](% slug overview_tilelayout %) component.
Definition
Package:@progress/kendo-vue-layout
Properties
autoFlow?
String | TileLayoutAutoFlow
Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the TileLayout.
For further reference, check grid-auto-flow CSS article.
Defaults to column
(see example).
columns?
number
Specifies the default number of columns (see example).
columnWidth?
string | number
Specifies the default width of the columns (see example).
dataItemKey?
string
Represents the key field of the TileLayout item. Used for setting unique keys to the TileLayout items.
dir?
string
Represents the dir HTML attribute. This is used to switch from LTR to RTL.
Specifies the gaps between the tiles (see example).
- The possible keys are:
rowscolumns
id?
string
Sets the id property of the root element.
Use this callback to prevent or allow dragging of the tiles based on specific dom event.
Setting :ignoreDrag="$event => !$event.target.closest('.k-card-title')" will make only the headers draggable.
Setting :ignoreDrag="$event => $event.target.nodeName == 'INPUT'" will ignore dragging input elements.
boolean
The collection of items that will be rendered in the TileLayout (see example).
onReposition?
(event: TileLayoutRepositionEvent) => void
Fires when the user repositions the tile by either dragging or resizing (see example).
The list of tiles' positions which are used when the TileLayout is in controlled mode (see example).
rowHeight?
string | number
Specifies the default height of the rows (see example).