問題タブ [mvcgrid]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
225 参照

c# - チェックされた行のみをコントローラーに送信する方法

私はこのようなmvcグリッドを持っています。

送信ボタンを押したときに、チェックされた行のみをコントローラーに送信する必要があります。どうやってするの ?

0 投票する
2 に答える
2365 参照

c# - Can't set display format to 2 decimal places when using mvc6 grid

I need to display some average sums of currency values in my .net core asp mvc project.

I am using mvc 6 grid to display the data, and I have tried these solutions:

But still my values are displayed with several decimal places:

enter image description here

Am I missing something?

I know I can format the columns using the mvc 6 grid, but is there not a way of doing this in the ViewModel?

Note that this is NOT a duplicate of the suggested question.. If you actually read the questions you will see that.

0 投票する
1 に答える
39 参照

c# - gridmvc がデータベースからのデータを表示しない

グリッドを表示することはできますが、セル内にデータを入力することはできません。これが私のグリッドで、完璧に見えます。

しかし、私のデータは列に表示されません。mvcgrid Web サイトのガイドに従っていますが、ここでデータを取得するために必要なことはこれだけです。ここに私のHTMLがあります: