Skip to content

Kitto.Html.DataPanel

Base data panel controller for KittoX. Provides CRUD action visibility and ACL logic (same as ExtJS TKExtDataPanelController.SetViewTable). Subclasses: TKXListPanelController, TKXFormPanelController.

TKXDataPanelController class

pascal
property ViewTable: TKViewTable read GetViewTable;

The view table this data panel operates on.

pascal
function IsActionVisible(const AActionName: string): Boolean;

Returns True if the action button should be visible.

pascal
function IsActionAllowed(const AActionName: string): Boolean;

Returns True if the action is visible AND the user has ACL permission.

Released under Apache License, Version 2.0.