Hello,
I am just starting out with Jmix, so maybe it’s a stupid question:
-
How do I display the first 100 chars (or so) of a rich text field (HTML) in a data grid column?
I have a Tet filed on an entity “Contract” called “Description”. This field has a RichTextField Editor (which works fine). In the list view, I’d like to show the first 100 chars of the Description field (which may contain HTML tags. So far the tags are displayed as plain text. I’d like to display Hello instead. -
In the Datagrid on List View there is a column “Company” which lists out the Company (the contact is for). I’d like to be able to have that cell/link clickable, so I am led to the company detail record.
Are there easy ways to accomplish these tasks? Any link to a documentation or an example would be great!
Best regards,
Chris