[streams-platform] - table builder - Is there options to add condition and render results in admin?

lckamal - 3 months ago

I wanted to filter data based on some query. I saw setEntries in tablebuilder but doesn't seems to work.

eg.

$entries = $educations->getByUser($id);
return $table->setEntries($entries)->render();

Answer

- 3 months ago

$table->setTableEntries($entries) I think is what you are looking for - $table in your example is really the builder. So set them on the object.

ryanthompson - 3 months ago

$table->setTableEntries($entries) I think is what you are looking for - $table in your example is really the builder. So set them on the object.