Amir Hadzic

Results 15 comments of Amir Hadzic

Hi @cihanzengin. Can you try importing `PropTypes` from `prop-types` package instead? You are probably using a newer version of react than what our docs refer to? So just use `import...

The `data` prop is required, it cannot be undefined.

Yeah, this is not currently possible, but I think you're thinking of something more like a `sortValue` function if I understand correctly. There are other similar cases where computed data...

Hi @jonicious, this is a great question. My intention for sematable was that it would be primarily a set of redux selectors, actions, and reducers, without making too many assumptions...

Hi, For such cases I usually use a value-based column with a custom component (that renders an icon based on the value). The actual value of the column is a...

Hi @pgoldweic, Here's how I would do that. In the data I provide to the table there should be a field with true/false value. It doesn't matter if this field...

Hello, I think the two examples you have are fine, especially `connect()`-ing the actions component. You can also use `componentProps` like this: ```javascript const pepareCol = ({ onRemove }) =>...

If you would like to make a PR for the `componentProps` changes, let me know if you have some questions.

Hi @pgoldweic. Can you please try using -1 (https://github.com/sematext/sematable/blob/master/src/PageSize.js#L16) as the default page size when configuring your sematable? We should probably export this constant from sematable though so you can...

It should work with 1.4.4. as well.