RadGid gridcalculatedcolumn value not show in edit field

2 posts, 0 answers
  1. sajid
    sajid avatar
    1 posts
    Member since:
    May 2015

    Posted 18 May 2015 Link to this post


    I am New in Telerik. As new comer I m facing some problem. I am using a Radgrid to show my one of table. In the grid there is a  telerik:GridCalculatedColumn .  The code is below

    <telerik:GridCalculatedColumn HeaderText="GrossSalary" UniqueName="GrossSalary" DataType="System.Double"
                                   DataFields="PFOfficeCont, ConsuladatedSalary" Expression="{0}+{1}" FooterText="Total : "
                                   Aggregate="Sum" EditFormColumnIndex="2">
      It shows the SUM of to colums values nicely. But when I click In-forms editing mode Grosssalay field does not Shows! In-line editing mode shows the GrossSalary field nicely. I want to know where is the problem?

    Please kindly help me to implement this. 

    With best regards


  2. Eyup
    Eyup avatar
    3801 posts

    Posted 21 May 2015 Link to this post

    Hi Sajid,

    The GridCalculatedColumn does not renders controls for its edit mode because its field could not be edited and therefore the column is ReadOnly by default. You can achieve the described requirement by mimicking the current EditForms table in a FormTemplate and add the additional info:

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top