Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite KloosterList.vue #54

Open
peer35 opened this issue Jun 30, 2021 · 0 comments
Open

rewrite KloosterList.vue #54

peer35 opened this issue Jun 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@peer35
Copy link
Member

peer35 commented Jun 30, 2021

As KerkenList.vue.

  • Directly access original source:
    getFeaturesFromMap: function () {
      //return this.map.getLayerByLid('kerken').getSource().getFeatures();
      return this.map.getLayerByLid('kerken').getSource().getSource().getFeatures();
    },
  • Searchable and paginated table
        <b-input-group>
          <b-form-input
              v-model="keyword"
              placeholder="zoek"
              type="text"
          >
          </b-form-input>
        </b-input-group>
        <b-pagination
            v-model="currentPage"
            :total-rows="rows"
            :per-page="perPage"
            aria-controls="list-table"
        ></b-pagination>
        <b-table
            id="list-table"
            :items="filtered_items"
            :fields="fields"
            :per-page="perPage"
            :current-page="currentPage"
            selectable
            @row-clicked="selectKerk"
            small
        ></b-table>

@peer35 peer35 self-assigned this Oct 18, 2021
@peer35 peer35 added the enhancement New feature or request label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant