• Introduction
  • Getting Started
  • Vue 2 End of Support
  • Native Components
    • Animation
    • Buttons
    • Chartsupdated
    • Conversational UInew
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gauges
    • Grid
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
      • Overview
      • Getting Started
      • ActionSheetnew
      • AppBar
      • Avatar
      • BottomNavigation
      • Card
      • ContextMenu
      • Drawer
      • ExpansionPanelnew
      • GridLayoutnew
      • Menu
      • PanelBar
      • Splitter
      • StackLayoutnew
      • Stepper
      • TabStrip
      • TileLayoutupdated
      • Wizard
      • Globalization
      • API
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Scheduler
    • ScrollView
    • Tooltip
    • TreeList
    • TreeView
    • Upload
  • Wrapper Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • FAQ
  • Troubleshooting
New to Kendo UI for Vue? Start a free 30-day trial

TileLayoutProps

Represents the properties of [TileLayout](% slug overview_tilelayout %) component.

NameTypeDefaultDescription

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.

gap?

TileLayoutGap

Specifies the gaps between the tiles (see example).

  • The possible keys are:
  • rows
  • columns

id?

string

Sets the id property of the root element.

ignoreDrag?

(event: any) => boolean

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.

items?

TileLayoutItem[]

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).

positions?

TilePosition[]

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).