Skip to content

Commit 97b4e98

Browse files
committed
tables: add example code
1 parent 3defc6b commit 97b4e98

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

uliweb_apijson/tables/templates/Tables/inc/table_config.html

+5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@
1919
</i-col>
2020
<i-col span="8">
2121
<div v-if="current_menu_item=='table_param'">
22+
<h3>table parameter</h3>
2223
<pre>
2324
{table_json}
2425
</pre>
26+
<h3>example code</h3>
27+
<pre>
28+
table = functions.get_apijson_table("{table.model_name}", role="{table.role}", request_tag="{table.request_tag}", tableui_name="{table.tableui_name}")
29+
</pre>
2530
</div>
2631
<div v-if="current_menu_item=='tableui_config'">
2732
<h3>settings.APIJSON_TABLE_UI.{table.tableui_name}</h3>

0 commit comments

Comments
 (0)