Note that there are some explanatory texts on larger screens.

plurals
  1. POCalculate SubTotal in Devexpress Gridview
    primarykey
    data
    text
    <p>I have a simple <code>Devexpress</code> <code>Gridview</code>.</p> <p><img src="https://i.stack.imgur.com/MRZmG.png" alt="enter image description here"></p> <p>Here code;</p> <pre><code>&lt;dx:ASPxGridView ID="grid" runat="server" DataSourceID="MasterDataSource" Width="100%" AutoGenerateColumns="False" KeyFieldName="CategoryID"&gt; &lt;Columns&gt; &lt;dx:GridViewDataTextColumn FieldName="CategoryID" ReadOnly="True" VisibleIndex="0" /&gt; &lt;dx:GridViewDataTextColumn FieldName="CategoryName" VisibleIndex="1" /&gt; &lt;dx:GridViewDataTextColumn FieldName="Description" VisibleIndex="2" /&gt; &lt;/Columns&gt; &lt;SettingsDetail ShowDetailRow="True" ExportMode="Expanded" /&gt; &lt;Templates&gt; &lt;DetailRow&gt; &lt;dx:ASPxGridView ID="detailGrid" runat="server" AutoGenerateColumns="False" DataSourceID="DetailDataSource" KeyFieldName="ProductID" Width="100%" OnBeforePerformDataSelect="detailGrid_BeforePerformDataSelect"&gt; &lt;SettingsDetail IsDetailGrid="true" ExportIndex="0" /&gt; &lt;Columns&gt; &lt;dx:GridViewDataTextColumn FieldName="ProductID" ReadOnly="True" VisibleIndex="0" /&gt; &lt;dx:GridViewDataTextColumn FieldName="ProductName" VisibleIndex="1" /&gt; &lt;dx:GridViewDataTextColumn FieldName="UnitPrice" VisibleIndex="2" /&gt; &lt;dx:GridViewDataTextColumn FieldName="QuantityPerUnit" VisibleIndex="3" /&gt; &lt;/Columns&gt; &lt;/dx:ASPxGridView&gt; </code></pre> <p>Is there any way calculate sub total of <code>Unit Price</code> column in Devexpress?</p> <p>For this example; I just want total of <code>Unit Price</code> column (18 + 19 + 4.5 + 14 + 18 + 263.5 + 18 + 46 + 14 + 14 + 15 = <code>430</code>) in the bottom..</p> <p>How can i do that?</p> <p><strong>Best Regards,</strong></p> <p><strong>Soner</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload