Use this view to return a section of a Table. This view has no parameter and it will not allow pagination to retrieve other rows or columns.
The view model is:
{
"type": "table-view"
"title": str,
"caption": str,
"data" List[List[float]],
"rows": List[Dict["name": str, tags: Dict[str, str]]],
"columns": List[Dict["name": str, tags: Dict[str, str]]],
"from_row": int,
"number_of_rows_per_page": int,
"from_column": int,
"number_of_columns_per_page": int,
"total_number_of_rows": int,
"total_number_of_columns": int,
"sort": {
"column": str,
"direction": "Ascending" | "Descending"
}
from_column: int
from_row: int
number_of_columns_per_page: int
number_of_rows_per_page: int
replace_nan_by: str
sort_column: str
sort_direction: TabularViewSortDirection
Initialize self. See help(type(self)) for accurate signature.
Table
int
- 0
int
- 0
int
- 100
int
- 500
str
- ''
str
TabularViewSortDirection
Add technical info
TechnicalInfo
Copy the view information from another view
View
Convert to dictionary
ConfigParams
dict
Mark the view as not interactive, disable the pagination
Get style
TypingStyle
Get technical info dict
str
TechnicalInfo
Get technical info
TechnicalInfoDict
Get title
Optional
Get type
ViewType
Is favorite
bool
Is interaction disabled
bool
Set favorite
bool
Set typing style for this view instance. This overrides the style defines in the view decorator and the default style of the view type With this you can define a custom style for a specific view instance when you view is generic.
TypingStyle
Set technical info
TechnicalInfoDict
Set title
str
Convert to DTO
ConfigParams
ViewDTO
Generate range list like 0,1,2...length
int
List
Dict
Method that return true is the provided json is a json of a view
Any
bool