Property | Type | Description | |
---|---|---|---|
$sortable | boolean | Set TRUE for sortable rows |
Method | Description | |
---|---|---|
__construct ( string $id ) : WPDKDynamicTableView | Create an instance of WPDKDynamicTableView class | |
columns ( ) | Return a key value pairs array with the column list | |
draw ( ) : string | Return the HTML markup for dynamic table | |
items ( ) : array | Retrun the items data to display |
Method | Description | |
---|---|---|
_columns ( ) | Return the columns list with internal column to add/remove a row tool | |
buttonAdd ( ) : string | Return the HTML markup to display the add row button. | |
buttonDelete ( ) : string | Return the HTML markup to display the delete row button. |
public __construct ( string $id ) : WPDKDynamicTableView | ||
$id | string | ID for this dynamic table |
return | WPDKDynamicTableView |
public columns ( ) |