This is a migrated thread and some comments may be shown as answers.

Disable Reorder on Spreadsheet Tabs

3 Answers 107 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Ohenewa
Top achievements
Rank 1
Ohenewa asked on 04 May 2020, 05:09 AM

Trying to disable worksheet tab reordering but no dice. I've tried listening for dragstart using jquery as well as attaching kendoDraggable to the .k-item elements of my spreadsheet but drag event's don't seem to be raised when reordering tabs. 

 

                $("ul.k-tabstrip-items .k-item").kendoDraggable({
                    dragstart: function (e) {
                        return false; //tried e.preventDefault() as well
                    },
                    dragend: function (e) {
                        return false;
                    }
                });

Any suggestions would be appreciated.

3 Answers, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 05 May 2020, 06:05 PM

Hi Ohenewa,

The requested functionality cannot be configured for the Spreadsheet component using its API. I've tried to workaround the built-in functionality but I cannot provide a solution that works in all scenarios that I've tested. 

I've logged a feature request on your behalf about the currently discussed functionality. Here is the link to the feature request: https://feedback.telerik.com/kendo-jquery-ui/1464763-disable-the-sheets-tabs-reorder-in-spreadsheet. You can vote for the request. The more votes a given request collects, the bigger the chance for its implementation is.

Regards,
Petar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Ohenewa
Top achievements
Rank 1
answered on 05 May 2020, 09:10 PM

Thank you Petar....

I'll continue to hack and update post if I'm able to develop a work around.

 

Regards,

Ohenewa

0
Petar
Telerik team
answered on 07 May 2020, 11:05 AM

Hi Ohenewa,

It will be very helpful if you manage to find a working workaround and share it with the community. Let us know if you have progress on this.  

Regards,
Petar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Spreadsheet
Asked by
Ohenewa
Top achievements
Rank 1
Answers by
Petar
Telerik team
Ohenewa
Top achievements
Rank 1
Share this question
or