Skip to content
Nuvyntra Labs

Data

NVTreeDataGrid

NVTreeDataGrid XAML, every kit attribute, and what each attribute does. NVTreeDataGrid in the Data layer.

Preview

Captured from NuvyntraLabs.UIKit.Sample on a phone. This is the control as Lumina paints it.

NVTreeDataGrid captured from the UIKit sample on a phone

About

NVTreeDataGrid in the Data layer.

Related: NVDataGrid.

XAML with every attribute

Namespace xmlns:nv="http://nuvyntralabs.com/uikit". Kit attributes first, then inherited MAUI VisualElement / View members. Framework properties are the same on every NV* view and are not repeated in the official control reference.

xmlns:nv="http://nuvyntralabs.com/uikit"

<nv:NVTreeDataGrid
    Columns="{Binding Columns}"
    Rows="{Binding Rows}"
    Filter="Filter"
    SortKey="none"
    SortDirection="none"
    PageSize="0"
    PageIndex="0"
    FrozenColumnCount="0"
    VisibleRows="VisibleRows"
    Roots="{Binding Roots}"
    IsVisible="True"
    IsEnabled="True"
    Margin="0"
    HorizontalOptions="Fill"
    VerticalOptions="Fill"
    BindingContext="{Binding}" />

Attributes

custom names are Lumina API. Unmarked names match familiar MAUI / forms usage.

AttributeTypeDefaultKindExplanation
ColumnsIList—customHeader, Binding, Key alias, Sortable, Frozen
RowsIList<IDictionary<string, object?>>—customGrid row dictionaries keyed by column Binding / Key.
Filterstring""familiar"" case-insensitive cell match
SortKeystringnonefamiliarnone header tap cycles none → asc → desc
SortDirectionNVSortDirectionnonefamiliarnone header tap cycles none → asc → desc
PageSizeint0familiar0 / 0 0 page size shows all; pager when > 0
PageIndexint0familiar0 / 0 0 page size shows all; pager when > 0
FrozenColumnCountint0familiar0 plus per-column Frozen
VisibleRowscomputed—familiarfiltered / sorted / paged
RootsIList—familiarflatten + Expand once

Inherited MAUI attributes

Every NV* view also inherits MAUI ContentView / VisualElement members. Those are framework properties.

AttributeTypeDefaultExplanation
IsVisiblebooltrueMAUI VisualElement. Hide the control without removing it from the tree.
IsEnabledbooltrueMAUI VisualElement. When false, the control ignores input and uses the Disabled visual state.
MarginThickness0MAUI View. Outer gap around the control. Use NVTokens.Space* for Lumina rhythm.
HorizontalOptionsLayoutOptionsFillMAUI View. Horizontal alignment in the parent (Start, Center, End, Fill).
VerticalOptionsLayoutOptionsFillMAUI View. Vertical alignment in the parent.
BindingContextobject?inheritedMAUI BindableObject. Source for {Binding …} paths on this subtree.

Typical usage

Short sample from the official control reference — not every attribute.

<nv:NVDataGrid />

Discussion

Comment on UIKit(MAUI). The thread lives on this component's GitHub repository (nuvyntralabs/NuvyntraLabs.UIKit). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.