Is it possible to update one of the records in a Table?
One of the actions in my table consists of making an API call and changing the status of a record from
active to inactive. I want to update the record in the table to reflect the action performed. How can I do this? Here's a snippet of my current code:
```tsx
export default function StoresList() {
const { tableProps, } = useTable<StoreList>({...Dataprovider resulting in String instead of Int
I am using the Hasura dataprovider, and i've passed the following
const gqlDataProvider = dataProvider(client, {idType: "Int"});
Expecting it to give an Int, but it keeps giving me a string, when my schema needs an Int.
...
How to make API call using Data Provider?
Considering the following code, how do I make an API call to a specific endpoint such as
stores/block using my data provider's "custom" method?
```tsx
type StoreList = {
id: number;...inferencer data from table
With the code:
```
import { IResourceComponentsProps } from "@refinedev/core";
import { AntdInferencer } from "@refinedev/inferencer/antd";...
UnsavedChangesNotifier doesn't work on browser back button
It seems that when a form is being exit without save in every scenario the <UnsavedChangesNotifier /> of @refinedev/react-router-v6 will always get trigger, however when press back button of the browser it doesn't get trigger
Filter nested fields in NestJS-Query
How do I filter nested fields when using useTable hook from Antd? Dot notation doesn't seem to work
Can I use Ant Design and Tailwind together at Refine?
Hi there,
I am new to the frontend technologies so I am sorry for asking this question. But when I search called "full stack frontend framework", I find Refine. Also I want to create admin dashboard and data analytics dashboard together. In this case, Tremor is good solution for this case. Because Tremor chart is very good solution for my case. (Instead of creating components to first time)
But also I like to use AntDesign in Refine because it is easy to use. When I read this article and I try this but I can't see dashboards like this and also can't implement Ant Design code with Tailwind...
How to do custom auth (REST) ?
Hi, I need guidance for making dashboard in next js
I want to use custom auth, headlesss ui to style as per design requirement
I know refine using react query which is great
- I find refine AuthPage component has many built in component like LoginPage, ForgetPasswordPge, RegisterPage etc...
How to get live app updates during Dev time
Hi all, I finally decide to ask the question here after 2h of turning around without solution.
I've got a docker-compose.yml to initiate multiple apps (wp, api, strapi, refin, db, ...) and a Dockerfile in my refine app directory.
But I cannot find the way to work in a development mode with refine....
Authenticated now working properly
Hello, I have my app setup as follows:
```
<Routes>
<Route path="/register" element={<RegisterPage />} />
<Route path="/login" element={<LoginPage />} />...
onFinish, being sent as object instead of input
I'm using onFinish to pass input, but it's being sent as an object, how can i change this?
Distinct Table
How can I setup my table to only show the first occurrence of a record, e.g. distinct value?
```
<Table.Column dataIndex="Client" title="Client"
filterDropdown={({ setSelectedKeys, selectedKeys, confirm, clearFilters }) => (...
filters in url route
I am loading my default route for a table, however the filters are being added in the url route by default, when no filters are applied. how can I stop this?
No application Connected
When i create a new refine project using npm create refine-app@latest ..and a followed all the steps to set up the project using vite...but when i run npm run dev, i get an error at the top of my landingpage saying No Application Connected...and even when i make changes in the code it doesn't reflect in the browser...what could be wrong?
global state and context
i couldn't find anything on documentation regarding global state management and contexts. is there a way to manage all of my contexts built in in refine or a way for global state management? if not, which library would be best to use with refine for global state management? is zustand okay?
String filtering on table
Antdesign table, search for sub-string within returned value and display in table
Substring Filter
Is there a way to search a filter and match all records including a sub-string, e.g. searching 703 would return the records UK703E and UK703A?
access control caching
Hi, the caching of access control provider does not seem to work. The caching in general works (for resource fetching) and I have explicitly defined the cache and stale parameters for accessControlProvider, but on navigation to a different menu I see that my custom accessControlProver gets called every time. Is this expected?
Auto refresh supabase token
I'm using a supabase auth provider (with remix). Shouldn't it automatically refresh a user session token when it expires? My user is still logged in, but if I try to get the user from the token (from a cookie) on the backend (in a remix loader function), supabase says the token has expired.