Jquery Dialogue with Custom buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krishnapriya
    Senior Member
    • Aug 2017
    • 209

    Jquery Dialogue with Custom buttons

    Hi,

    How to use jquery dialogue box with custom buttons in Espocrm?
    Please help.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Explain, please. To direct you, I need to know, what you need

    Comment

    • krishnapriya
      Senior Member
      • Aug 2017
      • 209

      #3
      Hi,

      When I click a link in navbar,a dialogue box should come which will show two entity names.
      According to the entity selected I need to redirect to that page.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Has it look like modal (Last Viewed) or like confirm?

        Comment

        • krishnapriya
          Senior Member
          • Aug 2017
          • 209

          #5
          Hi tanya.

          Yes actually I was looking for modal with custom buttons.

          It worked, Thanks tanya.

          Comment

          • krishnapriya
            Senior Member
            • Aug 2017
            • 209

            #6
            var dialog = new Espo.Ui.Dialog({
            header: 'Header Text',
            className: 'my-class',
            buttons: [
            {
            text: 'buttonText',
            name: 'buttonName',

            onClick: function () {
            },
            },
            ]

            });
            dialog.show();

            Comment

            Working...