We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Group text translation

Thread ID:

Created:

Updated:

Platform:

Replies:

122088 Feb 16,2016 02:31 PM UTC Feb 18,2016 04:09 AM UTC JavaScript 3
loading
Tags: ejRibbon
Antonio Terron
Asked On February 16, 2016 02:31 PM UTC

Hello,

Is it posible to get the ribbon's groups text? I need to get the text in order to translate it.

Thank you in advance

Kavitha Narayanan [Syncfusion]
Replied On February 17, 2016 09:36 AM UTC

Hi Antonio,

Thanks for contacting Syncfusion support.

Query: Is it possible to get the ribbon's groups text? I need to get the text in order to translate it.

Yes, we can get the ribbon groups text using Create event with the help of below code.

[Code]

<div id="defaultRibbon"></div>
<script>

$(function () {

            $("#defaultRibbon").ejRibbon({

                width: "100%",

                tabs: [{

                    id: "home", text: "HOME", groups: [{

                        text: "New", //text name of group


                   alignType: ej.Ribbon.alignType.rows, content: [{

                            groups: [{

                                id: "new",

                                toolTip: "New"

                            }

                            ]

                        }]

                    }]

                } ],

                create:"createControl" // Create event

            });

        });

   function createControl(args) {

                                  var groupText=args.model.tabs[0].groups[0].text;// Get group text here

                                  alert(groupText);
        }
  </script>

Please refer to the sample below.

Sample: http://www.syncfusion.com/downloads/support/forum/122088/ze/sample1861386955.zip

If the above does not solve your issue, please share your scenario to the ribbon groups text. This would help us to solve the issue.

Regards,
Kavitha N.


Antonio Terron
Replied On February 17, 2016 01:56 PM UTC

Got it!

Thank you

Kavitha Narayanan [Syncfusion]
Replied On February 18, 2016 04:09 AM UTC


Hi Antonio,


Thanks for the update.

Please get back to us if you need any further assistance.

Regards,
kavitha N.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;