pratik227 / quasar-qgrid

QGrid is a Quasar App Extension. It allows you to filter data for each column, Drag and Drop Rows and also allows you to filter data using header filters.
https://next-quasar-qgrid.netlify.app/
MIT License
112 stars 92 forks source link

Minor Improvements #139

Open cluidold opened 2 months ago

cluidold commented 2 months ago

Hi!

Thank you for your work to provide such a nice extension based on the q-table. I tried to implement it in my application and found some issues which caused me to stop using it for now. I still haven't tried all features that i need, so maybe i will find more issues in future. I will list the found issues here, maybe it would be better to create separate issues, if they aren't already on any roadmap.

  1. no customization for the top-right slot.. as this component uses q-table in background, it would be nice to add the slot for top-right to the component, so that we could add custom elements in the top-right slot.

  2. top-right-slot not visible when only using groupby_filter At the moment, the top-right slot has following conditions in v-if

<template v-slot:top-right="props" v-if="excel_download || csv_download || fullscreen || global_search">

if whe do not use excel_download, csv-download, fullscreen or global_search, the select for group-by wouldn't be visible, because top-right wouldn't be rendered

  1. allow customizing filter it would be nice, if we can customize the input-fields for the filter (e.g. add dense, margin-padding, change style, ...). a mor professional style would be, if we can open/close the filter row, to save some space, if we do not use filtering or another solution would be, to add some fancy filter-icon to each header and individually open single filter fields per column.

If i find some time, i will try to implememnt the rest of the needed features in my application with the q-grid extension. Maybe i will also try to fix some of the mentioned issues and create pull-requests. But because i am very busy at the moment, i think this will take more time.

Hopefully you know what i mean and understand some of the issues i mentioned.

best regards

Chris

pratik227 commented 1 month ago
  1. no customization for the top-right slot. - Fixed
 <template v-slot:top_right="props">
    Hi top Right section.
  </template>
  1. top-right-slot not visible when only using groupby_filter - Fixed

It will be available in new version.