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

Changing Header Text and Hiding Some Column in client Side

6 Answers 218 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arvind Singh
Top achievements
Rank 2
Arvind Singh asked on 13 Oct 2009, 07:53 AM
Hi,

I am populating grid through WCF method in client side. DEpending upon some condition, i need to change the header text of some column and hide some columns. Please let me know how we can do this?

Thanks in advance.
Arvind

6 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 13 Oct 2009, 05:54 PM
I am not sure about editing the column headers, however the following documentation articles discuss functions to show and hide columns client-side.


Since these require an index, and not a name, of the column you are attempting to hide/unhide you can refer to this forum post to see how to figure out the index of a column.
0
Arvind Singh
Top achievements
Rank 2
answered on 15 Oct 2009, 07:22 AM
Hi Schlurk,

I got the solution same day. We can hide the header column through indexing and item column through columnname. Thanks for your response.

Regards,
Arvind
0
Mark Galbreath
Top achievements
Rank 2
answered on 04 Feb 2010, 10:26 PM
I am not sure about editing the column headers, however the following documentation articles   
discuss functions to show and hide columns client-side.  
 
 

You are kidding, right?  Have you actually looked at that so-called API?  That is no help whatsoever.

Cheers!
Mark
0
Sebastian
Telerik team
answered on 05 Feb 2010, 08:56 AM
Hello Mark,

The usage of these method from the client API of RadGrid for ASP.NET AJAX is presented on this online demo:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientsideapi/defaultcs.aspx

We will also consider including short samples in the documentation topics to illustrate how these methods can be executed.

Best regards,
Sebastian
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Mark Galbreath
Top achievements
Rank 2
answered on 05 Feb 2010, 01:32 PM
Much better!!!  Thanks, Sebastian!

Cheers!
Mark
0
Schlurk
Top achievements
Rank 2
answered on 05 Feb 2010, 02:02 PM
You can also very easily access the rest of the documentation with the navigation on the left with the links I provided. I simply gave him the links to the specific functions so that he could see the details of the function and then look around in the other documentation links :)
Tags
Grid
Asked by
Arvind Singh
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
Arvind Singh
Top achievements
Rank 2
Mark Galbreath
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or