Skip to main content
Solved

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


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.

View original
Did this topic help you find an answer to your question?

7 replies

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

Set the SkinID property of the Panel to Buttons


Forum|alt.badge.img
  • Author
  • Freshman I
  • 11 replies
  • 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+13

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
  • 11 replies
  • 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+13

Would you be willing to share your customization package?


darylbowman
Captain II
Forum|alt.badge.img+13
  • 1608 replies
  • 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
  • 11 replies
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings