Configure the Summary Table

Before your users edit a record, they will need to find the record to edit. For that, CrudKit provides a summary table which helps your users find the right row. Some tables have many columns and sometimes you will need only a few to be displayed on the table.

Selecting the columns to display on the summary

Use setSummaryTableColumns to display the summary columns:

$table->setSummaryTableColumns (array("FirstName", "LastName", "Country"));

You can pass the names of the columns into the function. If you added the columns using addColumnById you should pass the IDs of the columns into this array.

Built by Anirudh Sanjeev. CrudKit is distributed under the MIT/X11 License.