Glide Data Grid
  • 👋Welcome to Glide Data Grid
  • 🚀Extended QuickStart Guide
    • ✏️Editing Data
    • 🖱️Working with selections
    • 🔨Grid Columns
    • 📎Copy and paste support
  • 📒FAQ
  • 📚API
    • DataEditor
      • Required Props
      • Important Props
      • Row Markers
      • Editing
      • Input Interaction
      • Selection Handling
      • Custom Cells
      • Drag and Drop
      • Search
      • Styling
    • DataEditorCore
    • Cells
      • BaseGridCell
      • TextCell
      • BooleanCell
      • NumberCell
      • UriCell
      • ProtectedCell
      • RowIDCell
      • LoadingCell
      • ImageCell
      • MarkdownCell
      • BubbleCell
      • DrilldownCell
    • Common Types
    • DataEditorRef
  • Guides
    • Implementing Custom Cells
Powered by GitBook
On this page
  • displayData
  • data
  • readonly
  • hoverEffect
  • onClickUri

Was this helpful?

  1. API
  2. Cells

UriCell

Renders URIs (usually urls) with the optional direct interaction.

export interface UriCell extends BaseGridCell {
    readonly kind: GridCellKind.Uri;
    readonly data: string;
    readonly displayData?: string;
    readonly readonly?: boolean;
    readonly onClickUri?: (args: BaseGridMouseEventArgs & { readonly preventDefault: () => void }) => void;
    readonly hoverEffect?: boolean;
}

displayData

A formated version of the uri as a string.

data

The uri

readonly

Determines if the cell will accept edit events.

hoverEffect

If set to true the uri will underline when hovered and receive a pointer cursor.

onClickUri

If provided this will be called whenever the actual text of the uri cell is clicked. This can be used to open a url.

PreviousNumberCellNextProtectedCell

Last updated 1 year ago

Was this helpful?

📚