Tulip Logo IconTulip
Concepts

Views and Selection

Drive keeps view mode and row selection in dedicated client contexts.

View state

DriveViewProvider stores the current mode as grid or list and persists it in a cookie.

Selection state

DriveSelectionProvider stores row selection and optional selectionConditions so products can disable certain nodes from being selected.

View configuration

createDriveViewConfig() combines:

  • query data
  • columns
  • infinite list strategy
  • selection state
  • node and selected-node commands

This is what lets the same provider page expose both grid and list representations while sharing bulk actions and table metadata.

On this page