at-webdev

Results comments of at-webdev

> @kpollich I had the same issue. What you have to do, is to copy the file `react-table-config.d.ts`, inside a directory (I recommend copying it inside the directory as your...

For typescript, both column.isVisible and column. show throws error as Property doesnt exsist on type Column, any possible fix for this? I am using types doc from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table

@ggascoigne Thanks! It works on JS environment but not on Typescript environment. I have set isVisible on column definition, accessed column.isVisible on the below sandbox. https://codesandbox.io/s/relaxed-night-y5gcl?file=/src/App.js. I am wondering why...

I attempted to update Column definition on react-table-config.d.ts as below,but couldnt get them to work.Any Leads appreciated on adding additional attributes to Column. ``` interface ColumnVisibility { Header: any; isVisible?:...

> try: > > ```tsx > declare module 'react-table' { > > export interface Column > extends UseFiltersColumnOptions, > UseGroupByColumnOptions, > UseResizeColumnsColumnOptions, > UseSortByColumnOptions { > isVisible?: boolean > }...

Thanks @david-potgieter, but I am not sure why itsnt working on previous sandbox link. For those wanting to implement setSortby on previous versions `useControlledState ` would fix this. ``` const...

> as stated in the documentation it falls under the `labels` key in the `legend` object > > example: https://jsfiddle.net/Leelenaleee/yoh5su6t/ Thanks @LeeLenaleee for noticing the gap.

@etimberg,In my case aligning it to start only fixes the first column, is it possible to make the yellow and blue legend labels to start at the same line on...