Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
グリッドがあります。データコードコードを取得する:
var myParam = { typeId : 1, xxxx : 'xxxx' //some else } grid.store.load(myParam);
時間のような何かをするときコードを刷新する:
grid.store.reload();
しかし、これはパラメータを失いました。
ExtJs3には、LastParamの構成があります。Extjs4で行う方法。
ありがとう。
プロキシの extraParams 構成を使用します。
grid.store.getProxy().extraParams = myParam; grid.store.load(); grid.store.reload();
このようにして、追加のパラメーターをコードで再度変更するまで、パラメーターが送信されます。