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.
行番号を各道場グリッド行にシリアル番号として挿入するにはどうすればよいですか?? これは、グリッドがフィルタリングまたはソートされるときに変更してはなりません..任意のアイデア??
私が見つけた解決策は、グリッド構造で「get」を使用することです
追加
function siFormatter(index){ return index + 1; }
これをグリッドの構造に追加します-
{field: "Si", name: "#", get : siFormatter, filterable: false}
グリッドで canSort 関数を使用して、この列の並べ替えを無効にします
他のより良い解決策があればドンノ..