Hiding Grid Column Edit mode if it does not contain a value

4 posts, 0 answers
  1. Syed
    Syed avatar
    36 posts
    Member since:
    Nov 2013

    Posted 15 Sep 2015 Link to this post

    Hi There
    I would like to hide a grid column run time at Edit mode if it does not contain a value.
    I am using EditMode="InPlace".
    I would still like to show that column if it is not in edit mode
    Can someone please help me
    Thanks
    Syed
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 16 Sep 2015 in reply to Syed Link to this post

    Hello Syed, 

     Could you please provide your code what you have tried or provide your grid's mark up(aspx page) code?

    Thanks,

    Jayesh Goyani

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Syed
    Syed avatar
    36 posts
    Member since:
    Nov 2013

    Posted 16 Sep 2015 in reply to Jayesh Goyani Link to this post

    Hi There

    Thanks I have figure out myself and it is working now. Thanks for your help but I have another problem which I want you to help me

    I have a very simple requirement inside Telerik Rad Grid, and I hope someone able to help me out here.
    I have two set of dates say Start date and End date inside Grid and I am using Telerik:RadDatePicker in EditItemTemplate.
    I have columns in my Grid from July to June(Total 12 months) which is by default hidden when I initial edit the Grid. What I want as soon as someone select the dates  in start and end data column based on dates selected it automatically display the column(July … june) using client application. I don’t want to use server side event as I have to enforce my users to enter values for these months.
    For example if user put  initial start date: 12/07/2015 and End date is 30/10/2015 then as soon as date get selected it make the month of July to October visible using client event. If in case user change his mind and change the start date to 15/08/2015 then month of July should be disappear.
    I am using the form edit mode of Rad grid
    I hope it will be clear
    Any questions please let me know
    Thanks
    Syed

     

  5. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 17 Sep 2015 Link to this post

    Hello Syed,

    I've already given directions how you can achieve this requirement in the following forum:
    http://www.telerik.com/forums/readonly-column-at-run-time

    I suggest that we continue our conversation on the mentioned thread.

    Regards,
    Eyup
    Telerik
    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