1"use strict";(globalThis.webpackChunk_genesislcap_docs=globalThis.webpackChunk_genesislcap_docs||[]).push([[2889],{989251(e,r,d){d.r(r),d.d(r,{assets:()=>c,contentTitle:()=>t,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>n});const i=JSON.parse('{"id":"develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata","title":"grid-pro.gridproserversidedatasource.reloadresourcedata","description":"Home > @genesislcap/grid-pro > GridProServerSideDatasource > reloadResourceData","source":"@site/docs/001_develop/03_client-capabilities/005_grids/003_grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata.md","sourceDirName":"001_develop/03_client-capabilities/005_grids/003_grid-pro/docs/api","slug":"/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata","permalink":"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata","draft":false,"unlisted":false,"editUrl":"https://github.com/genesiscommunitysuccess/docs/edit/master/docs/001_develop/03_client-capabilities/005_grids/003_grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata.md","tags":[],"version":"current","frontMatter":{"format":"md"},"sidebar":"developSidebar","previous":{"title":"grid-pro.gridproserversidedatasource.pollingdatasource","permalink":"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.pollingdatasource"},"next":{"title":"grid-pro.gridproserversidedatasource.request","permalink":"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.request"}}');var s=d(474848),a=d(28453);const o={format:"md"},t=void 0,c={},n=[{value:"GridProServerSideDatasource.reloadResourceData() method",id:"gridproserversidedatasourcereloadresourcedata-method",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Remarks",id:"remarks",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/develop/client-capabilities/grids/grid-pro/docs/api/",children:"Home"})," > ",(0,s.jsx)(r.a,{href:"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro",children:"@genesislcap/grid-pro"})," > ",(0,s.jsx)(r.a,{href:"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource",children:"GridProServerSideDatasource"})," > ",(0,s.jsx)(r.a,{href:"/docs/develop/client-capabilities/grids/grid-pro/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata",children:"reloadResourceData"})]}),"\n",(0,s.jsx)(r.h2,{id:"gridproserversidedatasourcereloadresourcedata-method",children:"GridProServerSideDatasource.reloadResourceData() method"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsx)(r.p,{children:"This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment."}),"\n"]}),"\n",(0,s.jsx)(r.p,{children:"Resets the grid data while keeping columnDefs and reloads data."}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:"Signature:"})}),"\n",(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-typescript",children:"reloadResourceData(params?: DatasourceOptions): Promise<void>;\n"})}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsxs)(r.th,{children:["\n",(0,s.jsx)(r.p,{children:"Parameter"}),"\n"]}),(0,s.jsxs)(r.th,{children:["\n",(0,s.jsx)(r.p,{children:"Type"}),"\n"]}),(0,s.jsxs)(r.th,{children:["\n",(0,s.jsx)(r.p,{children:"Description"}),"\n"]})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsxs)(r.td,{children:["\n",(0,s.jsx)(r.p,{children:"params"}),"\n"]}),(0,s.jsxs)(r.td,{children:["\n",(0,s.jsx)(r.p,{children:"DatasourceOptions"}),"\n"]}),(0,s.jsxs)(r.td,{children:["\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.em,{children:"(Optional)"})}),"\n"]})]})})]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,s.jsx)(r.p,{children:"Promise<void>"}),"\n",(0,s.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,s.jsx)(r.p,{children:"This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change."})]})}function p(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},28453(e,r,d){d.d(r,{R:()=>o,x:()=>t});var i=d(296540);const s={},a=i.createContext(s);function o(e){const r=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(a.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.