nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.39k stars 385 forks source link

Apply transformation to fetch data before datastore processing #2037

Open sdalu opened 2 months ago

sdalu commented 2 months ago

Summary I need to apply a transformation on the API endpoint (can't modify the backend for that) to make the result compatible wtih the protocol used in readData

      data: {
        api: {
          readData: { url: '/api/1/devices', method: 'GET' }
        }
      }

Is there a way to specify a function to apply to the data returned by the url, before it is processed by the datastore ?

Version 4.21.22