Problem with auto resize and DataGrid plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Solmos
    New Member
    • Aug 2006
    • 355

    Problem with auto resize and DataGrid plugin

    As I resize the auto-size of the columns of datagrid?

    On resize evenT?
  • Dermot
    Indigo Rose Customer
    • Apr 2004
    • 1791

    #2
    You were given the solution in your other post. You said it did not work because of an error. What was the error? Did you change the name of the datagrid to match yours?
    Dermot

    I am so out of here :yes

    Comment

    • bule
      Indigo Rose Customer
      • May 2005
      • 1116

      #3
      I just tried this:
      Code:
      DataGrid.ExpandColumnsToFit("Datagrid1", true, true);
      And it works. As Dermot is pointing out, is your datagrid object named "Datagrid1" or something else? If it's something else, change the upper code.

      You said:
      If use this code, aplication not work, because detects one error and close...
      What kind of error?
      Never know what life is gonna throw at you. ZubTech

      Comment

      • Solmos
        New Member
        • Aug 2006
        • 355

        #4
        Please test this example...

        Is needed the datagrid plugin...
        Attached Files

        Comment

        • bule
          Indigo Rose Customer
          • May 2005
          • 1116

          #5
          Your archive is corrupted.
          Never know what life is gonna throw at you. ZubTech

          Comment

          • madsen
            Indigo Rose Customer
            • Jun 2004
            • 77

            #6
            Repack

            Originally posted by bule View Post
            Your archive is corrupted.
            The archive seems fine to me, probably he used latest version for the RAR. I repacked for you in good old ZIP
            Attached Files
            Human Relativity: No one is alike, which is what makes us alike, at any given time. --Myself

            Comment

            • Solmos
              New Member
              • Aug 2006
              • 355

              #7
              Please test!

              Comment

              • madsen
                Indigo Rose Customer
                • Jun 2004
                • 77

                #8
                I don't have the DataGrid plugin so I would be unable to test, the only help I could provide was to repack the archive.

                Probably some helpful folks around will go into testing
                Human Relativity: No one is alike, which is what makes us alike, at any given time. --Myself

                Comment

                • bule
                  Indigo Rose Customer
                  • May 2005
                  • 1116

                  #9
                  Yes this seems to be a bug, I'm not sure why.
                  There is a workaround, however:
                  Add another empty page as a first page, and add
                  an action on it's OnShow event to jump to your page.
                  Also, add DataGrid.ExpandColumnsToFit("Plugin1", true, true);
                  to the end of the OnShow event.

                  Here:
                  Attached Files
                  Never know what life is gonna throw at you. ZubTech

                  Comment

                  • Solmos
                    New Member
                    • Aug 2006
                    • 355

                    #10
                    Not work this example... is error in AMS...

                    Comment

                    • bule
                      Indigo Rose Customer
                      • May 2005
                      • 1116

                      #11
                      What kind of an error?
                      (You need to replace your am7 file with the one in the archive.)
                      Never know what life is gonna throw at you. ZubTech

                      Comment

                      • Solmos
                        New Member
                        • Aug 2006
                        • 355

                        #12






                        Comment

                        • Solmos
                          New Member
                          • Aug 2006
                          • 355

                          #13
                          HELP!!!!!!!!!!!!

                          Comment

                          • alban
                            Forum Member
                            • Oct 2007
                            • 17

                            #14
                            Originally posted by Solmos View Post
                            HELP!!!!!!!!!!!!
                            try media studio 6 :P

                            Comment

                            Working...
                            X