Page 1 of 1

Can't get tabs to work in AppGiniHelper

Posted: 2020-04-10 22:16
by kanklovitch
Hi Guys
I am just now learning about AppGiniHelper. I have the AppGiniHelper js file in my hooks folder and I have and I have the code in the header-extras file.

I don't get any tabs at all, everything is just normal.

// file: hooks/business-dv.js
var dv = new AppGiniDetailView().compact();
var row_1 = dv.addLayout([12])
.add(1, ["company", "town", "business_type", "other_business_type", "company", "town" ])
.sizeLabels(2);

var row_2 = dv.addLayout([12])
.add(1, ["contact_names", "office", "cell", "location", "box" ])
.sizeLabels(2);

var row_3 = dv.addLayout([12])
.add(1, ["products", "services", "hours", "email", "web", "prov_state", "country", "notes", "photo", "uploaded_by", "delete_flag" ])
.sizeLabels(2);

dv.addTab("company-tab", "Company")
.add(row_1);
dv.addTab("contact-tab", "Contact")
dv.add(row_2);
dv.addTab("products-tab", "Products")
dv.add(row_3);

Re: Can't get tabs to work in AppGiniHelper

Posted: 2020-04-11 13:38
by kanklovitch
Problem was solved, I used different code from Bizzworks