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
195
keeping Filter TextBox always visible
posted

Hi All,

        In my XamDataGrid, I am using filter TextBox (i.e. FilterOperandUIType="TextBox"). How to keep this TextBox always visible?

regards,
Ajosh

  • 27093
    Verified Answer
    posted

    Hello Ajosh,

     

    Like other XamDataGrid cells the Filter’s cell (TexBox) has a few visual states which are switched on and off. I have to agree with Alex that there can’t be a more than one FilterCell activated and in edit mode, but your next best option is to mimic the state by manipulating the FilterCellValuePresenter’s original template so it shows the ContentPresenter’s borders. You can find the original template here by default: C:\Program Files (x86)\Infragistics\NetAdvantage 2010.1\WPF\DefaultStyles\DataPresenter  ->  DataPresenterGeneric_Express.xaml.

     

    Please let me know if you require any further assistance on the matter.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

  • 69686
    posted

    Hello Ajosh,

    To the best of my knowledge you cannot keep this always visible, if by that you have in mind keeping the cell always in edit mode. Please note that you can have only one cell in the XamDataGrid in edit mode at a time.