Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Basically it is combination of some examples. I guess you know how to use table already, pretty straight forward. Second, please look for example which we use inputs element to receive value and post back to server. We use the "change" event to update other widget. So basically you will have a textbox widget, use "change" event to update table widget. In table widget, you will access the value of textbox and use it as parameter to query data (inside dataSource() function).
Example of textbox change event
Example of table get value as its parameter
Hope that helps.
i have Created the table i Need to Pass input parameter do you have any example
class OrderTable extends Table {
protected function onInit()
{
$this->pageSize(10);
}
protected function dataSource()
{
// $range = $this->sibling("OrderQuantity")->value();
$range ="Online Payment";
return AutoMaker::table("orders")
->where("Payment_Type",$range)
->select("orders.Order_Number","Student_Name","Account_No","Books_Status");
}
}
In range In need to pass parameter dynamic
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo