Giter VIP home page Giter VIP logo

revogrid-column-select's People

Contributors

m2a2x avatar pablocaselas avatar revolist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

revogrid-column-select's Issues

How to update items in dropdown/selector based on another cells value?

Hi there,

I am using the SelectTypePlugin() to add a dropdown/selector to revogrid columns. Would it be possible to update the items in the dropdown/selector based on another cells value?

        {
            prop: "type",
            name: "Type",
            source: ["Volume", "Mass", "Length"]
            columnType: "select",
        },
        {
            prop: "units",
            name: "Units",
            source: ["ml, "L", "g", "kg", "m", "km"] 
            columnType: "select",
        }

For instance, if for the Type column Volume is selected only the items mL and L should appear in the Units column. Accordingly if Mass is selected only g and kg should be listed, etc...

I was hoping for a callbach function similiar to how the readonly key can be adjusted for a single cell like it was described in issue #323. However, it seems that the source key only accepts a list and not a function (source code).

Is there a workaround to archive the desired result or do you think it might be important enough to implement the callback function logic for one of the next releases?

Thanks,
Christian

Should this component work with vue3

Whatever I try, I cannot make this component work with the vue3-datagrid (No clickable down arrow appears). I tried with different versions of vue3 (<3.1) and different versions of vue3-datagrid. Should this be possible? Is there a working example somewhere?

Angular import issue

import SelectTypePlugin from "@revolist/revogrid-column-select";
I am using Angular 13, but the plugin is not importing.

error TS7016: Could not find a declaration file for module '@revolist/revogrid-column-select'. 'D:/jri/admin-angular-ui/node_modules/@revolist/revogrid-column-select/dist/main.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/revolist__revogrid-column-select` if it exists or add a new declaration (.d.ts) file containing `declare module '@revolist/revogrid-column-select';`

Could you check this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.