NAME
Mojolicious::Plugin::DataTables::SSP::Results - DataTables SSP Result Helper
SYNOPSIS
# Mojolicious
$self->plugin('DataTables');
# Mojolicious::Lite
plugin 'DataTables';
[...]
$c->render(json => $c->datatable->ssp_results(
draw => 1,
data => \@results,
records_total => 100,
records_filtered => 0
));
DESCRIPTION
Mojolicious::Plugin::DataTables::SSP::Results is a Mojolicious plugin to add DataTables SSP (Server-Side Protocol) support in your Mojolicious application.
METHODS
Mojolicious::Plugin::DataTables::SSP::Results implements the following methods.
draw
records_total
records_filtered
data
TO_JSON
SEE ALSO
Mojolicious, Mojolicious::Guides, https://mojolicious.org, Mojolicious::Plugin::DataTables, Mojolicious::Plugin::DataTables::SSP::Params.