Skip to main content
Answer

How to align custom added buttons and the allow filter search bar

  • February 20, 2023
  • 7 replies
  • 460 views

Forum|alt.badge.img

I want to align added buttons(see the attachment 1) to bottom right and the align the search bar to top right. I tried several ways but I could not accomplished it. I'm new to acumatica environment. So i kindly request an advice/guide  from you guys to align these button and search bar as i want in this customized screen.

 

Best answer by darylbowman

It looks like you were trying many different settings in ASPX to accomplish the right-align, and the Buttons skin seemed to be overridden. Acumatica doesn’t do a great job of clearing out aspx settings that you try and then decide not to use. I edited your file and manually removed a bunch of alignment stuff, and SkinID now works correctly.

I changed the grid SkinID to Inquire which removes the New and Delete buttons, which you had disabled in ASPX. I set the ActionBar > Actions > Position to Top which removed the search bar from the bottom, but also wasn’t showing at the top. I set ActionBar > Actions > FilterBar > ToolbarVisible to TopGroupIndex to 3, Order to 0, like I found in the ASPX for the Contacts tab on Business Accounts, which has a search bar in a grid.

This solved it.

7 replies

darylbowman
Captain II
Forum|alt.badge.img+15

Set the SkinID property of the Panel to Buttons


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 21, 2023

Thanks. I did it. Can I know that how to the right bottom side align those set of buttons?


darylbowman
Captain II
Forum|alt.badge.img+15

Setting the SkinID of the PXPanel the buttons are in should align the buttons to the right. Did it work?


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 21, 2023

I set the SkinId property as Buttons and published it. But still, they are left side align as before.

 


darylbowman
Captain II
Forum|alt.badge.img+15

Would you be willing to share your customization package?


darylbowman
Captain II
Forum|alt.badge.img+15
  • Answer
  • February 21, 2023

It looks like you were trying many different settings in ASPX to accomplish the right-align, and the Buttons skin seemed to be overridden. Acumatica doesn’t do a great job of clearing out aspx settings that you try and then decide not to use. I edited your file and manually removed a bunch of alignment stuff, and SkinID now works correctly.

I changed the grid SkinID to Inquire which removes the New and Delete buttons, which you had disabled in ASPX. I set the ActionBar > Actions > Position to Top which removed the search bar from the bottom, but also wasn’t showing at the top. I set ActionBar > Actions > FilterBar > ToolbarVisible to TopGroupIndex to 3, Order to 0, like I found in the ASPX for the Contacts tab on Business Accounts, which has a search bar in a grid.

This solved it.


Forum|alt.badge.img
  • Author
  • Freshman I
  • February 22, 2023

Thank you very much @darylbowman for your valuable support and guidance. It works very well. All the alignments are very well fine now.