how can I set the tracks select box on the right? #4001
Answered
by
cmdcolin
Jasonzzzzzzzzzzzzzz
asked this question in
General
-
I just want to set the select box on the right like this exmaple picture. however, it doesn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
cmdcolin
Oct 20, 2023
Replies: 1 comment 3 replies
-
can you clarify what you mean by "set the tracks select box"? is it that you want to create your own custom track selector? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
currently the @jbrowse/react-linear-genome-view (which I think your screenshot shows) does not allow docking the track selector on the right hand drawer. the track selector is shown in a modal popup. I have considered that we could add ability for the embedded to show track selector as a drawer widget though. the @jbrowse/react-app actually allows using the drawer widget. see https://jbrowse.org/storybook/app/main/ for the @jbrowse/react-app demos
you can make a defaultSession with the track selector open, or programmatically use e.g. viewModel.session.views[0].activateTrackSelector() or something like this