This is a migrated thread and some comments may be shown as answers.

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

3 Answers 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 15 Sep 2015, 05:02 AM
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

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 16 Sep 2015, 06:15 PM

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

0
Syed
Top achievements
Rank 1
answered on 17 Sep 2015, 01:33 AM

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

 

0
Eyup
Telerik team
answered on 17 Sep 2015, 11:01 AM
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
Tags
Grid
Asked by
Syed
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Syed
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or