mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 07:16:10 +08:00
TreeTable: new parameters (#313)
* TreeTable: new parameters API Reference: sap.ui.table.TreeTable New parameters for TreeTable and TreeColumn * Update src/z2ui5_cl_xml_view.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/z2ui5_cl_xml_view.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/z2ui5_cl_xml_view.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> --------- Co-authored-by: oblomov <102328295+oblomov-dev@users.noreply.github.com> Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
This commit is contained in:
parent
21b243ba12
commit
3ee332b747
|
@ -821,6 +821,10 @@ CLASS z2ui5_cl_xml_view DEFINITION
|
||||||
!selectionmode TYPE clike DEFAULT 'Single'
|
!selectionmode TYPE clike DEFAULT 'Single'
|
||||||
!enablecolumnreordering TYPE clike DEFAULT 'false'
|
!enablecolumnreordering TYPE clike DEFAULT 'false'
|
||||||
!expandfirstlevel TYPE clike DEFAULT 'false'
|
!expandfirstlevel TYPE clike DEFAULT 'false'
|
||||||
|
!COLUMNSELECT type CLIKE optional
|
||||||
|
!ROWSELECTIONCHANGE type CLIKE optional
|
||||||
|
!SELECTIONBEHAVIOR type CLIKE default 'RowSelector'
|
||||||
|
!SELECTEDINDEX type CLIKE optional
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(result) TYPE REF TO z2ui5_cl_xml_view .
|
VALUE(result) TYPE REF TO z2ui5_cl_xml_view .
|
||||||
METHODS tree_columns
|
METHODS tree_columns
|
||||||
|
@ -829,6 +833,7 @@ CLASS z2ui5_cl_xml_view DEFINITION
|
||||||
METHODS tree_column
|
METHODS tree_column
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!label TYPE clike
|
!label TYPE clike
|
||||||
|
!HALIGN type CLIKE default 'Begin'
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(result) TYPE REF TO z2ui5_cl_xml_view .
|
VALUE(result) TYPE REF TO z2ui5_cl_xml_view .
|
||||||
METHODS tree_template
|
METHODS tree_template
|
||||||
|
@ -901,7 +906,8 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
||||||
result = _generic( name = `Column`
|
result = _generic( name = `Column`
|
||||||
ns = `table`
|
ns = `table`
|
||||||
t_prop = VALUE #(
|
t_prop = VALUE #(
|
||||||
( n = `label` v = label ) ) ).
|
( n = `label` v = label )
|
||||||
|
( n = `hAlign` v = halign ) ) ).
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
@ -918,7 +924,11 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
||||||
( n = `rows` v = rows )
|
( n = `rows` v = rows )
|
||||||
( n = `selectionMode` v = selectionmode )
|
( n = `selectionMode` v = selectionmode )
|
||||||
( n = `enableColumnReordering` v = enablecolumnreordering )
|
( n = `enableColumnReordering` v = enablecolumnreordering )
|
||||||
( n = `expandFirstLevel` v = expandfirstlevel ) ) ).
|
( n = `expandFirstLevel` v = expandfirstlevel )
|
||||||
|
( n = `columnSelect` v = columnselect )
|
||||||
|
( n = `rowSelectionChange` v = rowselectionchange )
|
||||||
|
( n = `selectionBehavior` v = selectionBehavior )
|
||||||
|
( n = `selectedIndex` v = selectedIndex ) ) ).
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user