Can't get tabs to work in AppGiniHelper

Topics related to AppGini plugins/add-ons go here.
Post Reply
kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Can't get tabs to work in AppGiniHelper

Post by kanklovitch » 2020-04-10 22:16

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);
Attachments
AppGiniHelper.jpg
AppGiniHelper.jpg (64.73 KiB) Viewed 2192 times

kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Re: Can't get tabs to work in AppGiniHelper

Post by kanklovitch » 2020-04-11 13:38

Problem was solved, I used different code from Bizzworks

Post Reply