toDataSet
Use the toProcedure
method to transform an entity ORM object into a WireBootstrap DataSet object. This method transform allows an ORM procedure to participate in the dynamic bindings of UI components.
const dataset = CustOrderHist.procedure().toDatSet();
new wire.datatables().render("#table", {data: dataset});
Last updated