Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > GridView > How can I put filer on certain column but not all columns

Not answered How can I put filer on certain column but not all columns

Feed from this thread
  • Craig Broadhead avatar

    Posted on Mar 9, 2012 (permalink)

    Hi All,

    I use datatable to connect gridview. After that I would like to have filer on column 1 but not all columns

    .EnableFiltering = True
    .MasterTemplate.EnableFiltering = True

    This code switched the whold grid filter on.

    Any idea to that?

    Thanks

    Reply

  • Posted on Mar 9, 2012 (permalink)

    Hello Craig,

    You can use the AllowFiltering property of the column to do this. For exmaple
    Hope that helps
    Richard
    Dim column As New Telerik.WinControls.UI.GridViewTextBoxColumn()
    column.AllowFiltering = False

    Reply

  • Posted on Mar 12, 2012 (permalink)

    Hi Craig,

    How did you get on with this? If it helped, please remember to mark as answer. If you need further help, just let me know
    Richard

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > GridView > How can I put filer on certain column but not all columns
Related resources for "How can I put filer on certain column but not all columns"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]