Hello, Kintone community. I am currently attempting to create a table using a Custom View and HTML. Using HTML, I would like to display the “Person’s Name”, “Date of Birth”, and “ID” as a custom view. The field names within the application are “person”, “dob”, and “id”. Can field-codes be used in the HTML, or is their another way to accomplish the same customization?
Thank-you in advance!
Hello Tony
First of all, the field code cannot be used in the HTML code, it can only be used in API or the auto-calculation field.
One of the methods of creating a table in the custom view is by creating the item name row with HTML, such as by:
Eg:
<div id="my-customized-view">
<table border="1">
<thead>
<tr>
<th>Person's Name</th>
<th>Date of Birth</th>
<th>ID</th>
</tr></thead>
<tbody id="my-tbody">
</tbody>
</table>
</div>
Then use JS to manipulate the HTML DOM to put the child element (of data) in the HTML tbody.
I hope you get the idea.
Thank you for your response. I understand the logic,