Announcement

Collapse
No announcement yet.

[SOLVED] "Add New" button grid

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] "Add New" button grid

    Is there a bug that prevents the "Add new" button appearing in the toolbar of a grid?

    If not, can someone tell me how to add that button into the toolbar please?

    I'm using v8.1.015

  • #2
    It will only appear if you have an application link to a form and have set the appropiate checkbox to 'on'.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks Aducom. Yes I do have a link and I have "Display button (new row) on the grid toolbar" set to Yes but still no "Add new" button on the grid !!

      Comment


      • #4
        Have you add the 'Form Buttons' in the Toolbar section?

        Comment


        • #5
          I just posted a bug about not being able to turn that button off from an event.

          I agree with the others: "Form Buttons" in the toolbar, plus "Display button (new row) on the grid toolbar" set to Yes.in the link properties.

          There is no "new row" button, actually, but you get the idea. It's labeled "Add New" in English and is referred to as "insert" in the sc_apl_conf macro.

          Comment


          • #6
            Thank you for all the help. Unfortunately I still don't have the Add new button on my grids.

            I have "Form Buttons" in the toolbar, plus "Display button (new row) on the grid toolbar" set to Yes.in the link properties.

            This is on all grids in a new project. In fact on one of the grids "Advanced Search" is on the right of both the top toolbar and the bottom toolbar and they are not selected in the toolbar properties!!

            At this stage I have had to create an "Add new" button with some code to make the form act correctly depending on whether I click the new button to add or the pencil to edit.

            I'm also reluctant to regenerate old projects in case my form buttons disappear.

            Can someone from Scriptcase comment on this thread please?

            Comment


            • #7
              PM sent to John L. Santos asking for him to contribute to this thread.

              Comment


              • #8
                I can now dispense with my own created button as sc_btn_display("new","on"); in onScriptInit works.

                Surely I shouldn't have to do this!!

                Comment


                • #9
                  Originally posted by Giblet535 View Post
                  I just posted a bug about not being able to turn that button off from an event.
                  Turning it on in onScriptInit is working for me!!

                  Comment


                  • #10
                    Hello,

                    Try deleting the project folder within scriptcase/app and generate applications again.

                    See the images below, I'm doing the same procedure and it works.

                    Best Regards,
                    John L. Santos

                    Bug Tracker Team
                    NetMake - IT Solutions

                    Comment


                    • #11
                      Originally posted by John L. Santos View Post
                      Hello,

                      Try deleting the project folder within scriptcase/app and generate applications again.
                      Thank you John, that worked.

                      For future reference, can you tell me what went wrong in the first place please?

                      Comment


                      • #12
                        Hello,

                        I believe it may have been some dirt in the generated code or the file could not be overwritten.
                        Best Regards,
                        John L. Santos

                        Bug Tracker Team
                        NetMake - IT Solutions

                        Comment


                        • #13
                          Please remove SOLVED tag.

                          IT STILL DOES NOT WORK AS EXPECTED !
                          see this ---> http://www.scriptcase.net/forum/foru...r-form-buttons
                          Last edited by aka; 12-08-2015, 08:23 PM.
                          -----------------------------------------
                          Arthur Klisiewicz
                          dATA POINT SOFTWARE
                          www.datapointsoftware.com

                          Comment


                          • #14
                            .................................................. ..........
                            Last edited by aka; 12-16-2015, 02:05 PM.
                            -----------------------------------------
                            Arthur Klisiewicz
                            dATA POINT SOFTWARE
                            www.datapointsoftware.com

                            Comment


                            • #15
                              Originally posted by aka View Post
                              Please remove SOLVED tag.

                              IT STILL DOES NOT WORK AS EXPECTED !
                              see this ---> http://www.scriptcase.net/forum/foru...r-form-buttons
                              Hello,

                              This thread was started by Garfieldus. He said that could fix the problem by wiping the scriptcase/app folder and generate the project again. Therefore, this case has been solved.

                              If you are experiencing a similar problem in another topic, we will analyze it there.
                              Best Regards,
                              John L. Santos

                              Bug Tracker Team
                              NetMake - IT Solutions

                              Comment

                              Working...
                              X