Native class

SGBADataTableListViewRow#

  • Declared in "Editor/Slate/SGBADataTableListViewRow.h"
class SGBADataTableListViewRow : public SMultiColumnTableRow< FDataTableEditorRowListViewDataPtr >

A widget to represent a row in a Data Table Editor widget. This widget allows us to do things like right-click and take actions on a particular row of a Data Table.

Methods#

  • public
    • Construct&
    void
    Construct(​
    const FArguments& InArgs,
    const TSharedRef<STableViewBase>& InOwnerTableView
    )

    The owning object. This allows us access to the actual data table being edited as well as some other API functions. The row we're working with to allow us to get naming information. Constructs this widget with InArgs

    • GenerateWidgetForColumn&
    virtual TSharedRef<SWidget>
    GenerateWidgetForColumn(​
    const FName& InColumnName
    )
    • SLATE_BEGIN_ARGS&
  • private
    • GetCellText&
    static FText
    GetCellText(​
    const FDataTableEditorRowListViewDataPtr InRowDataPointer,
    const int32 ColumnIndex
    )

Fields#

  • private
    • CurrentName&
    TSharedPtr<FName> CurrentName
    • HostWidget&
    TWeakPtr<SGBANewDataTableWindowContent> HostWidget
    • RowDataPtr&
    FDataTableEditorRowListViewDataPtr RowDataPtr