The official release of Ext.NET Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More

How to get the names of visible column from grid in codebehind?

  1. #1

    How to get the names of visible column from grid in codebehind?

    Is there any way that I can get names of visible column only.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	1 
Size:	11.4 KB 
ID:	25086

    I tried
    bool abc1 = GridPanel.ColumnModel.Columns[1].Hidden;
    if(bool)
      //get name of column name using 
    
    GridPanel.ColumnModel.Columns[1].Text
    But this is not working is there anyway I can achieve this
    Last edited by iamsky13; Nov 30, 2017 at 5:24 AM.

Similar Threads

  1. Dynamic Column names
    By derymax in forum 1.x Help
    Replies: 6
    Last Post: Nov 14, 2011, 1:40 PM
  2. Column Names not vissble while exporting
    By emon in forum 1.x Help
    Replies: 3
    Last Post: Apr 14, 2011, 5:31 PM
  3. Replies: 0
    Last Post: Apr 05, 2011, 5:18 AM
  4. simple gridpanel autogenerating column names
    By lordofthexings in forum Examples and Extras
    Replies: 0
    Last Post: Apr 22, 2010, 2:39 PM
  5. Gridpanel not showing column names
    By unaltro2 in forum 1.x Help
    Replies: 3
    Last Post: Feb 16, 2010, 2:54 PM

Tags for this Thread

Posting Permissions