# PV Glance - default split window

**URL:** https://discourse.paraview.org/t/pv-glance-default-split-window/4190
**Category:** Web Support
**Created:** [April 27, 2020, 2:15pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190 "2020-04-27T14:15:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![alib022](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@alib022](https://discourse.paraview.org/u/alib022)
#### Post date: [April 27, 2020, 2:15pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/1 "2020-04-27T14:15:49Z")

</div>

Hi,

We are trying to use PV-Glance in our web app, we seems to be having hard time making it to open in 4 window split as default. Any help would be appreciated.

Thanks

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [April 27, 2020, 2:52pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/2 "2020-04-27T14:52:41Z")

</div>

Hi Ali,

Are you using a glance state file to load data in as well? If so, you can open the 4 views prior to saving your state file, and then load in that state file.

If you are embedding Glance directly, you probably want a programmatic way of accessing the vuex store, which will provide you with the quadView action that you can dispatch manually. If that is seems like the setup you need, then I can update Glance to expose the store, so you can call `glance.store.dispatch("quadView")`.

Let me know which is the scenario that best fits your requirements.

---

<div class="post-metadata">

### Author: ![alib022](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@alib022](https://discourse.paraview.org/u/alib022)
#### Post date: [April 27, 2020, 3:03pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/3 "2020-04-27T15:03:48Z")

</div>

Forrest,

Thank you so much for the quick response. Yes, we are actually embedding the app inside our Django app. So I suppose we have to do the vuex store option. Please let me know when you will be able to expose the store.

Thanks much.

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [April 27, 2020, 4:21pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/4 "2020-04-27T16:21:47Z")

</div>

The PR is here: [https://github.com/Kitware/paraview-glance/pull/325](https://github.com/Kitware/paraview-glance/pull/325)

I’ll merge it once tests go green.

---

<div class="post-metadata">

### Author: ![alib022](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@alib022](https://discourse.paraview.org/u/alib022)
#### Post date: [April 27, 2020, 4:31pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/5 "2020-04-27T16:31:25Z")

</div>

okay perfect. Thank you so much.

---

<div class="post-metadata">

### Author: ![Sohail\_B](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sohail_b/32/5671_2.png) [@Sohail\_B](https://discourse.paraview.org/u/Sohail_B)
#### Post date: [January 18, 2021, 1:01pm UTC](https://discourse.paraview.org/t/pv-glance-default-split-window/4190/6 "2021-01-18T13:01:01Z")

</div>

Hi there,

Where do I have to put this code `glance.store.dispatch("quadView")` . to see 4 views by default.

Thanks
