Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook



The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic

Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.

If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.

Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.

Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Any chance to get conditional row expander tabs/accordions ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Any chance to get conditional row expander tabs/accordions ?

    I have a grid that has many row expander grids connected. However, not all are always applicable to each record.
    Is there ANY way to code or set somewhere the row expander tabs/accordions not to show under certain conditions?

    Is there ANY way to influence the style of the row expander tabs/accordions?

  • #2
    Re: Any chance to get conditional row expander tabs/accordions ?

    look it up in the videos; I know there's one on the row expanders and I'm pretty sure the tabs/accordions.

    Edit: are you wanting to edit style on the fly or just generally? If just generally, modify the CSS style sheet--the icon's at the top of the Web Projects Control Panel.


    • #3
      Re: Any chance to get conditional row expander tabs/accordions ?

      What I want is:

      If possible AT ALL: 1) Make the tabs/accordions show based on conditions;
      If possible AT ALL: 2) Change the way the tabs are shown not only to "Left" or "Right" but (because there are many) to "Left AND right".

      When this all does not work, I think I would have to look at the appearance of the tabs to make them a bit smaller maybe and look how that works out.


      • #4
        Re: Any chance to get conditional row expander tabs/accordions ?

        I've seen video (or maybe a forum post?) for the conditional show/hide tabs and accordions. Not sure on the reversing tab order.

        Not sure why you're so determined to write this off as impossible. Just search for them.


        • #5
          Re: Any chance to get conditional row expander tabs/accordions ?

          Will do Chris! I am not that eager to write this option off, not at all I very much need it! The only thing is, that the search for these type of options can drive anyone mad, how the heck is one supposed to find these things in AlphaPedia? I have searched for it the whole day yesterday, just could not find it. Will go over all videos once more now, if you say you think to have seen it somewhere, that's all I need for motivation :-)
          Could not find any possible option in the components itself though, so I am very interested (if this option exists - hopefully!) how it can be accomplished! Will keep you posted, and appreciate your efforts to answer very much.


          • #6
            Re: Any chance to get conditional row expander tabs/accordions ?

            It looks like it the only way to get this to work is to write a custom event handler on the OnExpandRow event.


            • #7
              Re: Any chance to get conditional row expander tabs/accordions ?

              Hi Marcel,

              I noticed this thread a little while back and archived it for future use. Perhaps it can help get you on your way.





              • #8
                Re: Any chance to get conditional row expander tabs/accordions ?

                Thank you Jeff for thinking along. I appreciate the effort!
                Sigh. How great would it be if the row expander simply had an enable expression property per grid?
                Reality is, it doesn't. The thread you referenced is a nifty solution to change the tab title. I can't see yet how this could be used to enable the tab based on a condition.
                But I am on it already the whole day, so my sharpness is largely gone by now.

                Writing an event handler for the OnExpandRow event to conditionally show about 20 grids in a tabbed row expander could be a bit too much if I could pull it off to begin with.

                I have seen coding for selecting which grid to show based on a value in the field of a parent record, but that only shifts between 2 grids and there is no tabbing involved.

                This simply might be too hard a job. Not ready to give up on it, but the word "workaround" already starts to pop-up.......


                • #9
                  Re: Any chance to get conditional row expander tabs/accordions ?

                  This any help?

                  Bill Griffin
                  Parkell, Inc


                  • #10
                    Re: Any chance to get conditional row expander tabs/accordions ?

                    Originally posted by Bill Griffin View Post
                    Hi Bill. Maybe you can elaborate a bit more on how you were thinking when you posted this? I don't understand your line of thought / supposed solution here.

                    The icon is in this example showed if there are records in the expander grid that match to the key in the parent.
                    Point is, I have about 20 grids in the expander, so how to use this feature ?

                    What I have, is like 20 grids in the expander. So the expander shows 20 tabs when expanded. What I would like is for some tabs NOT to show if it does not match a value from the parent grid, since for some records that grid does not apply. The feature with the icon becomes less important as more grids come into the expander since the chance of no records becomes increasingly smaller when the number of grids grows.


                    • #11
                      Re: Any chance to get conditional row expander tabs/accordions ?

                      Hide tabs based on what type of condition? If child grid has records or based on values in parent grid or....?
                      Also are your child grids RO or editable?


                      • #12
                        Re: Any chance to get conditional row expander tabs/accordions ?


                        It is really not very clear what you are doing to me. I thought this may be of help. You mention row expanders, tabs, accordions. Perhaps a video or visual of what you are doing, might bring some suggestions.

                        Bill Griffin
                        Parkell, Inc


                        • #13
                          Re: Any chance to get conditional row expander tabs/accordions ?

                          I would like to hide the tabs in the row expander based on the value of a field of the parent record.
                          Let me explain:

                          I have a parent grid that holds HORSES. So the parent grid is "a horse".

                          Every horse (grid row in the parent) has a row expander which shows about 20 grids with all kinds of functionality.

                          Now, for instance, one of those child grids holds the results of research for the mare to be in heat or not. Obviously, this whole grid does not apply to geldings or stallions, only to mares.
                          So I would like that particular tab in the row expander only to show if the horse is a mare. There are many gender related issues, like seemen research which would only apply to stallions.

                          Otherwise every horse in the grid selected confronts the user with 20 grids that do not all apply.

                          All grids in the row expander are mostly editable only some read only.


                          • #14
                            Re: Any chance to get conditional row expander tabs/accordions ?

                            Still not getting a clear visual. Does the Show/Hide expression in the tab pane not work for you?
                            Bill Griffin
                            Parkell, Inc


                            • #15
                              Re: Any chance to get conditional row expander tabs/accordions ?

                              Since the type (mare, stallion, gelding, etc.....) is stored in parent grid and it can be referred to, it's easier to do than hiding the tabs based on a dynamic value like ,say, if child grid has records or not. The day is starting here. I'll try to put something together during lunch time.