Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
XamDatagrid Column Header Name
posted

Hi,

I am working with XamDatagrid. I have implemented filter functionality same as excel. I have placed button in each and every column header and when button is clicked it opens the list of values for to "Filter". One thing where i got stuck up is how can I get the column header Name when i click on the button placed in header. Once i get the column header name I can apply filter on that particular column only. Can anybody suggest me a better approach to achieve this functionality?

Thanks In Advance,

Sejal Viroja

  • 69686
    posted

     Hello Sejal,

    To get the name of the column header, you can save it in the respective Button Tag Property. It is of type object and you can save whatever type of information you want in it. I hope this helps your problem.