Thanks for the idea.
Usually you can control the (plural) caption of the tables in your project.
But if you want to change it
dynamically, you can use jquery:
Find the div.page-header. There is a <h1> inside which you can modify. It contains an <a> containing the image and the caption of the table.
There will be 4 new functions in
next version of AppGini Helper Javascript Library:
Code: Select all
$j(document).ready(function () {
var tv = new AppGiniTableView();
// 1
tv.setTitle("text");
// 2
tv.setTitleHtml("<b>Test</b>Test");
// 3
tv.addTitle(" for project " + project_name);
// 4
tv.addTitleHtml(" for project " + "<b>" + project_name + "</b>");
}
Result
1: text
2:
TestTest
If table-caption is "Tasks" and project_name is "Project 1"
3: Tasks for project Project 1
4: Tasks for project
Project 1
Regards,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readability
AppGini 24.10 Revision 1579 + all AppGini Helper tools