Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

Last post 09-05-2008 10:09 by mamun1net. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-01-2008 8:39

    Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

     Hi,

    How can i hide  "Empty" and "Non Empty" string from webgrid Filering dropdownlist using Ajax? Is there is any way to do this?

     

    /Mamun

    • Post Points: 20
  • 09-02-2008 9:49 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

     Hi,

     

    Is there no solution to hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist using Ajax?

    /Mamun

    • Post Points: 5
  • 09-02-2008 11:19 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    I believe this is covered in another post.

     

    Customizing the list of Filter Operators when FilterUIType = FilterRow


    Darrell Kress
    Research and Development
    Infragistics

    Please remember that while Infragistics does monitor the forums, they remain a Peer to Peer support option. You can always contact Infragistics support directly via one of the options listed at http://www.infragistics.com/gethelp.


    Have a feature you would like to see? Or possibly a new component you would want in NetAdvantage? Submit a feature request to Infragistics through our Developer Support department.
    • Post Points: 20
  • 09-03-2008 4:09 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    Thanks for reply. but it doesnt work for me. Here is my Code:

    function UltraWebGrid1_AfterFilterDroppedDown(gridName, oFilterDropDown){  

        if (oFilterDropDown.Column.DataType == 8)
        {
            oFilterDropDown._showListOption( igtbl_filterComparisionOperator.Empty,false);
            oFilterDropDown._showListOption( igtbl_filterComparisionOperator.NonEmpty,false);
        }

    }  

     

    Thanks

    /Mamun

    • Post Points: 20
  • 09-03-2008 7:24 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

     Hi,

    So no solution.

     bye

     

    • Post Points: 5
  • 09-03-2008 7:57 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    Is your column a string column, is the event hooked up.  Try putting an alert in the code to ensure that the client side event is hooked up.

    Darrell Kress
    Research and Development
    Infragistics

    Please remember that while Infragistics does monitor the forums, they remain a Peer to Peer support option. You can always contact Infragistics support directly via one of the options listed at http://www.infragistics.com/gethelp.


    Have a feature you would like to see? Or possibly a new component you would want in NetAdvantage? Submit a feature request to Infragistics through our Developer Support department.
    • Post Points: 20
  • 09-03-2008 9:13 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

     Hi,

    Yes, 1st alert and 2nd alert is working. 3rd and fourth is not working. Here is the code:

    function UltraWebGrid1_AfterFilterDroppedDown(gridName, oFilterDropDown)

    {

        alert(oFilterDropDown.Column.DataType);

        if (oFilterDropDown.Column.DataType == 8)
        {
            alert("Test1");

            oFilterDropDown._showListOption( igtbl_filterComparisionOperator.Empty,false);

            alert("Test2");
            oFilterDropDown._showListOption( igtbl_filterComparisionOperator.NonEmpty,false);

            alert("Test3");
        }

    }  

    Now what can i do?

    /Mamun

    • Post Points: 20
  • 09-04-2008 11:00 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    I think its not possible.
    • Post Points: 5
  • 09-04-2008 11:14 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    Well if 3 and 4 aren't firing, are you getting a Javascript error? It's a linear code path, and that code is used in the control itself, so if it is failing for you, I would assume that it would be failing when it is trying to limit the options automatically for string columns vs. numeric columns.
    Darrell Kress
    Research and Development
    Infragistics

    Please remember that while Infragistics does monitor the forums, they remain a Peer to Peer support option. You can always contact Infragistics support directly via one of the options listed at http://www.infragistics.com/gethelp.


    Have a feature you would like to see? Or possibly a new component you would want in NetAdvantage? Submit a feature request to Infragistics through our Developer Support department.
    • Post Points: 20
  • 09-05-2008 4:11 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    Thanks for reply.

    Yes, I am getting JavaScript error.

    • Post Points: 5
  • 09-05-2008 10:09 In reply to

    Re: Hide "Empty" and "Non Empty" string from webgrid Filering dropdownlist

    Answer

    Thanks. I got the solution. its very easy. There is properties to show Empty string and Non Empty string.

     

    • Post Points: 5
Page 1 of 1 (11 items)
Powered by Community Server (Commercial Edition), by Telligent Systems