Code Monkey home page Code Monkey logo

adaptablegrid's People

Contributors

jasonlipo avatar jonathannaim avatar jonnyadaptabletools avatar yoelshimi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

algoskynet

adaptablegrid's Issues

Add concept of ReadOnly / editable

So I think you need to allow a column to be Readonly. this can then be set by the dev at design time when they set up the grid. if its readonly then you cannot enter edit mode for the column.
And also the column object should have an IsReadOnly or IsEditable or some similar property to say if readonly has been set.
This is quite useful in lots of scenarios.

Improve cell styling

Implement methods for Cell/Row to see if cell has styling, remove and add (only if not there already).

getVisibleRows is returning the header row

It probably shouldn't but not the end of the world so long as we are aware its happening and can deal with it. but i cannot think of a situation in which you would want it.

perhaps we could add a getHeaderRow() method IF we need to get it but i don't think we do and in any case it shouldn't be returned in get visible rows.

Create: Cell:RemoveClass and Row.RemoveCSS

We can easily add styles to Cells and Rows (though not sure why for cell is AddClass and for row is AddCSS).

But we cannot easily remove them.

Is it possible to add a method so we can easily remove a style by name.

DataType definition file

Hey man,

Just had a look at the definition of the DataType interface that is being returned by Column.getType()
image

I'm sure something has gone wrong in the jsdoc to definition file of something...
Ideally, we'd want the method to be like that:
getType(): 'String'|'Number'|'Boolean' ...........

issue with getrawvalue

I'm guessing its when the value is null - don't forget that sometimes a cell might be null or empty. Im assuming the error is when there is no value for the cell: this is the error:

add a getallrowids() method

Not so urgent this as we can loop through all the rows and call getrowidbyrow but i guess if you can do it - and make it super quick by using JQuery - then it might be helpful...

definitely not urgent.

add a GetAllRows() method

Add moment we have
getVisibleColumns
getHiddenColumns
getAllColumns

but for rows we just have hidden and visible. a get all would be helpful for scenarios where we need to loop for all rows and don't care if they are hidden or visible

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.