This topic contains 1 reply, has 2 voices, and was last updated by  Nilay Vishwakarma 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #102268

    Hi,

    I have added a WijEditor with toolbar customization in simple mode from the demo (http://demos.wijmo.com/WidgetExplorer/explore.html?widget=Editor&sample=Customize%20Simple) and it is working great as have added the extra buttons I want from the ‘Customize’ demo.

    What I would like to do is add the table buttons but I cannot seem to find the html to insert them and make the commands work like the other buttons.

    For example to add cut, copy and paste buttons I add the following to the ribbon div:

    <span class="wijmo-wijribbon-list">
       <button title="Cut" class="wijmo-wijribbon-cut" name="cut"></button>
       <button title="Copy" class="wijmo-wijribbon-copy" name="copy"></button>
        <button title="Paste" class="wijmo-wijribbon-paste" name="paste"></button>
    </span>

    Is there a demo somewhere with this html in for tables or could someone post the html.

    Thanks

    Dom

    #103901

    Nilay Vishwakarma
    Moderator

    Wijmo Subscriber

    Answer

    Hi,

    Following are the classes related to table operations which you can use:

    wijmo-wijribbon-tablebutton
    wijmo-wijribbon-inserttable
    wijmo-wijribbon-edittable
    wijmo-wijribbon-insertcol
    wijmo-wijribbon-insertrow
    wijmo-wijribbon-insertcell
    wijmo-wijribbon-splitcell
    wijmo-wijribbon-mergecell
    wijmo-wijribbon-deletecol
    wijmo-wijribbon-deleterow
    wijmo-wijribbon-deletecell

    ~nilay

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.