GithubHelp home page GithubHelp logo

bosskmk / pluto_grid Goto Github PK

View Code? Open in Web Editor NEW
622.0 622.0 271.0 3.66 MB

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.

Home Page: https://pluto.weblaze.dev

License: MIT License

Kotlin 0.01% Swift 0.09% Objective-C 0.01% Dart 96.45% HTML 0.27% CMake 1.23% C++ 1.79% C 0.10% Ruby 0.06%
datagrid datatable filtering flutter frozen-columns grid grouping pagination sorting sticky-headers table

pluto_grid's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pluto_grid's Issues

No Grid Lines

Can you make a method to enabled / disable showing the Grid lines between columns. Let us have a choice whether we need to show the Grid Lines.

Adding data from outside the grid

FocusScope works to give focus to a modal bottomsheet, but when data is changed, even though the Pluto grid is in a streambuilder, and the rows get rebuilt on each change of data, the grids state is being rebuilt, but not with new data.

Cell selection problem.

If the grid has a minimum height set, then in a state narrower than the minimum height,

There is a position error when selecting cells by long tapping with the mouse after moving the whole scroll to the bottom.

Deleting all rows

Hello.
First of all , I would like to thank you for this package.
Is there a direct method for deleting all rows without selecting them?

Can you to add PgUp/PgDown... key support in grid ?

Hi @bosskmk

Can you to add any keys support in grid ?

No edit mode, of course.

Home : move on first column, no change table record
End : move on last column, no change table record

Ctrl+Home : move on first record , no change column
Ctrl+End : move on last record , no change column

PgUp : Scroll one full page top
PgDown : Scroll one full page bottom

Thank you :)

fixed column bug.

If the grid starts without a fixed column and one column is fixed to the right, the column is fixed to the right, but the original column does not disappear and overlaps.

how i can disable next row when i change data from row

after change value from first row, position will go to next when i press enter or after i choose value from selected box, so i can not update value to another column at first row, it will change value to next row. May i disable next rows on change or any solution for my error.

Focus logic change

Modified so that the Grid does not force focus and works properly according to the situation in which focus is received or taken away

gr8 Work | Thanks for the Widget

First of all thank you very much for the widget and it has very promising future in Flutter.

For state manager, can you look into GetX https://github.com/jonataslaw/getx , i believe this library will reduce much of the boiler point code.

Also, will it be possible for you to explain the widget development, what logic does what. Have seen the code, still being new to Flutter, few things goes over head.

Add / Remove Rows

Grid must take focus after clicking on Add/Remove Rows, as of now the Button "Add/Remove" gains the focus and focus remains on the button only. The focus must go back to the grid

Textalignment

i have a cell with type :PlutoColumnType.number(),
i want all text in cell align to right.

how to set this?

have problem is wrong position to select cell (help me pls)

i use pluto_grid with lib zoom_widget but I do zoom out and select is select cell wrong .I thing position have problem but i zoom in side my screen i select cell Correct.
and i have 1 question to ask i want to do cell can't select can or can't because i do all cell one column in left side i want to do same title column and i want to do can't click

in picture i select 2cell but error to select wrong
image

picture dishere i want to close to click to select left side to title
image

Calculate Cell

Introduce a calculating cell , i.e. if a user puts simple formula in the text field like =(5*25) * .10 and press Enter then it must calculate and show the value 1.25

masking number on typing

Hi, i have a column with type PlutoColumnType.number(), can i format the number as like money format on typing the text?

thank you

how i can use select with id and text

i try make an example with status of product, on database i save as 0 and 1, on app i show it like block and use. But i don't known how to do this when i want update value to my database because it not 0 or 1, it block or use

cell color and line height

First of all thanks for the widget, it is really very good.
Seeing the documentation, I realized that the customization of the lines and cells will be done in the future. Do you have any plans to include height of lines and colors by cells?

bottom sheet or dialog on top of grid

I put a floating action button to showModalBottomSheet, and the grid seems to maintain focus/input unless you use a showBottomSheet not modal. Is there a prefered way to show a dialog/bottom sheet above a grid?

Improve date sorting speed in 100,000 lists.

In the case of a date in a format such as 2020-12-31, it is faster if compared directly in the string state.

However, when sorting a string type such as 12/31/2020 or 31/12/2020, the year is behind and needs to be parsed, but the parsing speed is slow.

  int compare(dynamic a, dynamic b) {
    final dateFormat = intl.DateFormat(format);

    final _a = dateFormat.parse(a);

    final _b = dateFormat.parse(b);

    return _a.compareTo(_b);
  }

The sample application indicates errors

Good widget !!!!

PLUTO version 1.15, the code indicates 6 errors

my flutter environment
[√] Flutter (Channel master, 1.22.0-10.0.pre.449, on Microsoft Windows [version 10.0.19041.508], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.7.5)
[√] Android Studio (version 4.0)
[√] Connected device (3 available)

Add PlutoGridOptions.

  • Enable/disable lines between columns.
  • Dark mode.
  • Cells appear to be cut off at the edges.

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.