Questions tagged [griddle]

Griddle is a simple grid component for use with React

Griddle is a simple grid Component for use with React. It depends on Underscore.js and React.


Resources :


Related tags :

48 questions
1
vote
1 answer

Griddle only showing columns in columnMeta array in setting after updating to version 0.7

Just upgraded griddle and react packages to latest. Issue is griddle only showing columnMeta in setting after updating to version 0.7 I need to add all the columns in columnMeta array otherwise, they are not listed in the settings section let…
Sandeep Chikhale
  • 1,505
  • 2
  • 21
  • 36
1
vote
1 answer

How to change style of Next/Prev Button in Griddle

Implemented following scenario nextClassName={'text-hide'} nextText={''} nextIconComponent={ } Now this provides me a Next Button with a wrapper div above button, and text-hide class is applied to…
Sandeep Chikhale
  • 1,505
  • 2
  • 21
  • 36
1
vote
0 answers

In Griddle-react component. I am changing resultsPerPage props with wrapper component but it is not getting updated?

handleChange(e){ this.setState({ pageSize: e.target.value )} State of pagesize is getting updated . I have…
Cryptic22
  • 41
  • 4
1
vote
1 answer

Griddle empty table when objects in fields

I'm trying Griddle grid component for React. When I pass an array of objects with primitive fields everything works fine // works but when there are objects in fields, it shows an empty table
Yaroslav
  • 4,543
  • 5
  • 26
  • 36
1
vote
1 answer

Pass function in props Griddle custom component - ReactJS

I have the following code: var RiderComponent = React.createClass({ updater: function(){ this.props.metadata.update(); }, render: function () { return (
Terry
  • 266
  • 3
  • 18
1
vote
0 answers

Select not all columns when all checkboxes are unchecked when using Griddle

I use Griddle for displaying data, so I want to customize, what columns will be checked, when no columns are set, not all as by default. For example:
1
vote
0 answers

ReactJS - Griddle not using JSX

I'm using Brunch and CoffeeScript to glue my files together. I added Griddle to vendor.js. Griddle is now accessible and it's a function. So I can call Griddle and it's defined. But how can I use it with ReactJS ? I tried to use it like I would do…
Yves Lange
  • 3,914
  • 3
  • 21
  • 33
1
vote
1 answer

griddle-react: How can I externalize the rows settings from the settings menu

I want to separate the row settings from the separate settings menu in Griddle. The DataTables library has a good example on its homepage. I essentially want to recreate the DataTables layout but with the Griddle…
theptrk
  • 730
  • 9
  • 17
0
votes
1 answer

TypeError: Cannot read property 'string' of undefined by using griddle 1.0.3 and react 16.2.0

I am trying to use griddle-react 1.0.3 with react 16.2.0 but getting the following error "Typeerror: Cannot read property 'string' of undefined". How to resolve this error? Shall I use griddle 0.8.1 for react 16.2.0 or is this the right cimbination…
0
votes
1 answer

How to change row class based on the cells' values in griddle-react?

I have a table in griddle (v 1.13.1) and I want to highlight some rows. var data = [{highlight:true, name:"Abc"}, {highlight:false, name:"Abc"}, {highlight:true, name:"Abc"}] I want to add class…
velblúd
  • 365
  • 3
  • 14
0
votes
0 answers

React Griddle Sort Multiple Columns

I am following this example. I am working on a plugin that will keep grouped columns sorted ascending. I am following the test example from the link above. I am getting this error: Uncaught TypeError: Cannot read property 'sortAscending' of…
rkralston
  • 386
  • 1
  • 5
  • 20
0
votes
2 answers

Have a good griddle-react plugin example?

The plug-in documentation states: When adding functionality to Griddle, you’ll likely need to response to actions and update the application state. This can easily be done by adding action handling functions to your reducer object. I am writing a…
rkralston
  • 386
  • 1
  • 5
  • 20
0
votes
1 answer

Griddle, pass 2 variables to custom component

How do I pass 2 or more variables to the custom component? I have a Griddle grid in the return function:
djHonda
  • 81
  • 1
  • 9
0
votes
2 answers

griddle-react API not found

Thanks in advance. I took over an old project and have to fix some problems. It's using the griddle-react, and the code like this: import Griddle from 'griddle-react'; ......
user6080689
0
votes
1 answer

How to render Griddle component having a column with colspan

I need to render a table where every alternate row will have a row that spans through the all the columns. Something like below in html,
Heading 1 Heading 2
row 1 column 1 row 1…
rockyPeoplesChamp
  • 581
  • 2
  • 6
  • 23