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. Image for the cookie policy date

Frozen Swimlanes

I am using EJ1.

I spoke to the chat desk and they gave me a sample ( Essential JavaScript Playground | Syncfusion ) and asked if I could reproduce it, Easy.

 - I added one line ( 55 ) to allow freeze swimlanes.

 - Run the sample.

 - Press the Collapse All button and you can see the top swimlane cannot be expanded.

We have a fix for this. Turn off the freeze, collapse the swimlanes and restore freeze


I have another problem with it...

 - Run the sample.

 - Scroll down the Nancy​ swimlane and collapse it.

 - Press the Collapse All​ button. I still have Janet Wall​ at the top, what happened to Andrew​?






1 Reply

VJ Vinitha Jeyakumar Syncfusion Team January 13, 2023 10:58 AM UTC

Hi Martin,


Your reported issues can be resolved by changing the below code in your attached sample,

Code snippet:
  $("#button1").on("click", function (e) {           
              var kanbanObj = $("#Kanban").ejKanban("instance");
              // changed the first parameter of scrollY to 0 from 1 to resolve the issue
              kanbanObj.getScrollObject().scrollY( 0, true, 0 );
              kanbanObj.KanbanSwimlane.collapseAll();
           
            });


Please let us know if you have any concerns.

Regards,
Vinitha

Loader.
Live Chat Icon For mobile
Up arrow icon