Hide column buttons and quicksearch

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
henryejune
Posts: 10
Joined: 2022-05-26 07:37

Hide column buttons and quicksearch

Post by henryejune » 2024-06-27 11:25

I would like to hide both the buttons for column views and the quick search on the homepage.If I click on the columns icon, it conflicts with the columns set by AppGini Helper and creates a poor display. How do I disable the columns buttons added by last version? If possible, I would also like to know how to disable 'quick search' on the homepage.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1879
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Hide column buttons and quicksearch

Post by jsetzer » 2024-06-27 12:43

Hi, off topic, apart from your questions:

if you can send me a screenshot and some additional information about your script code I will check if I can fix the "conflicts". Right now I don't know exactly which conflicts there are.

Please send order number and additional info by email to [email protected]
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.14 Revision 1665 + all AppGini Helper tools

henryejune
Posts: 10
Joined: 2022-05-26 07:37

Re: Hide column buttons and quicksearch

Post by henryejune » 2024-06-27 17:47

Hi, simply I don't need those buttons because I create the columns with appgini helpers and I don't care if they change.
The first image is the default view the second one when I click on the two column icon. All the fields get mashed into the first column.
Screenshot 2024-06-27 194127.png
Screenshot 2024-06-27 194127.png (47.56 KiB) Viewed 650 times
Screenshot 2024-06-27 194151.png
Screenshot 2024-06-27 194151.png (43.76 KiB) Viewed 650 times
The code is:
var row_data = dv.addLayout([12])
.add(1, ["Data_carico"])
.add(1, ["sesso"])
.wrapLabels();

var row_comune = dv.addLayout([6,6])
.add(1, ["nascita"])
.add(2, ["titolo_studio"])
.wrapLabels();

Sergio

I use:
Screenshot 2024-06-27 194127.png
Screenshot 2024-06-27 194127.png (47.56 KiB) Viewed 650 times
Attachments
immagine_2024-06-27_194720539.png
immagine_2024-06-27_194720539.png (3.5 KiB) Viewed 650 times

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1879
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Hide column buttons and quicksearch

Post by jsetzer » 2024-06-27 18:58

OK, now I got it. I've already asked Ahmed for a disable option exactly for the reason that we don't need two- or three-column layout when using custom layouts with AppGiniHelper JS Lib.

Next AppGini Helper JS Library will have a function for removing those buttons.

Send me your ordernumber and (if within your 1-year-free-updates period) I can send Beta 4 to you.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.14 Revision 1665 + all AppGini Helper tools

henryejune
Posts: 10
Joined: 2022-05-26 07:37

Re: Hide column buttons and quicksearch

Post by henryejune » 2024-06-28 06:40

First of all, thank you for your interest. Secondly, I am very happy to hear that a new update of AppGini Helper is planned. As a fan of the program i won't hide that I was a bit worried about the lack of updates. This is the reason (sorry) why I did not renew my annual license the last time it expired. I can't wait to start purchasing it again! For now, I will wait patiently.
Thank you, Jan

User avatar
zibrahim
Veteran Member
Posts: 154
Joined: 2020-01-28 18:30
Location: Malaysia

Re: Hide column buttons and quicksearch

Post by zibrahim » 2024-06-28 09:07

I am using the following codes for the things you mentioned.
Add them in hooks/footer-extras.php

Code: Select all

    <!-- hide Homepage search in Home Page -->
    <script>
        AppGini.disableHomePageSearch = true;
    </script>

    <!-- hide multiple layout button in DV -->
    <script>
        $j(function() {
            $j('.detail_view-layout').remove();
        });
    </script>
Hope this helps.
Zala.
Appgini 24.17, MacOS 14.6 Windows 11 on Parallels.

henryejune
Posts: 10
Joined: 2022-05-26 07:37

Re: Hide column buttons and quicksearch

Post by henryejune » 2024-06-28 10:46

Great! works perfectly.
Thank you.

mberthiaume
Posts: 6
Joined: 2021-12-07 17:58

Re: Hide column buttons and quicksearch

Post by mberthiaume » 2024-07-03 15:06

Hi zibrahim,

Thank's you for this code ... the Quick Search is now disable on my Main Home Page ...

Note for APPGINI Team: this issue began since version 24.13 ... and the option to disable the Quick Search is not exist for the Main Page ... Work Only for the Tables.

Regards

Post Reply