Skip to content

Commit

Permalink
Add documentation for additional toolbar controls.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 6, 2024
1 parent 256c75b commit 5b3a10a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/data-tables/table.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
an Ajax call. In order to correctly connect the jelly view with the Jenkins ModelObject via a Stapler proxy
your model Java class needs to implement the AsyncTableContentProvider interface.

If you need additional toolbar controls you can create such controls in the body of this tag. All controls in
the body will be rendered in the top-left corner of the table. An example is available in the
Coverage Plugin's [coverage-table.jelly](https://github.com/jenkinsci/coverage-plugin/blob/main/plugin/src/main/resources/coverage/coverage-table.jelly) view.

<st:attribute name="model" use="required" type="io.jenkins.plugins.datatables.TableModel">
The model of the table.
</st:attribute>
Expand Down

0 comments on commit 5b3a10a

Please sign in to comment.