You can now insert certain elements like headlines, paragraphs or alerts before or after any field or above or below the row.
new AppGiniField("birth_date") .insertAbove() .h1("Heading 1", "page-header")
Position before/after or above/below
There are four diffent places:
.insertAbove()inserts the new element above the row,
.insertBelow()below the row
.insertBefore()inserts the new element above the input
.insertAfter()below the input
var field = new AppGiniField("weight"); field.insertAbove().h1("Heading 1"); field.insertBefore().h1("Heading 1"); field.insertAfter().h1("Heading 1"); field.insertBelow().h1("Heading 1");
Insert a heading (h1-h5) next to a field in Detail View
Insert a paragraph (p) next to a field in Detail View
Insert an alert box next to a field in Detail View
Do you like it?
We can only get better if you give us constructive suggestions for improvement. Just voting "No" without giving reasons or suggestions is not helpful and will not lead to any changes. If you have been searching for a completely different solution than the subject says, this article can not be and will not be helpful for you. In these cases you should consider not to vote.