Custom Column filter like MS-Excel

Hello,
I want to create filtering on headers of JXTable/JTable.
So how can I get the values presented in that column to take all available values in filter list.
Also want to create custom filter to compare less than, greater then, equals..etc same as Excel Sheet.
Please help me how can I do all this with Java.

I've used VLJTable for similar purposes and found it good enough. It's not all-comprensive, but it really makes easier to deal with the problem (than plain java sorting/filtering capabilities).
Bye.

Similar Messages

  • Hy, how can i make filter in numbers, like in excel? can anybody help me?

    i am new in mac, and of course in numbers, until now i use exel, and i know to work with it, but now i want to use numbers, so...i want to make a filter like in excel.but i don.t know how.
    Thanks.

    Hi,
    The screen shot didn't really clarify the question for me.
    Here's what Jerry was describing, the Reorganization panel, Numbers's equivalent to the 'Denumire' panel shown in your screen shot:
    It's currently set to show only rows of the table where the temperature is recorded as between 11 and 13 °C. I've clicked the + button to the right of that condition to add a second, but have not started to build that condition yet.
    Regards,
    Barry

  • Outline and Group columns like in Excel?

    I am trying to do an outline and group of columns like in Excel. I basically, want to hide away (roll up) certain columns in a spreadsheet. I know I can hide them, but I would prefer to group/outline them like I can in Excel so anyone can ungroup them. If I just hide them, they look like they are gone. Can Numbers '09 do this for columns?
    Thanks,
    jeff

    Numbers does not have that capability. It would be difficult to replicate it for columns because there are no filters for columns, just rows. It might be possible to do something for rows by using the filtering capabilities, an extra (hidden) column on which to filter, and checkboxes that you can check/uncheck to show/hide groups of rows.

  • Display and filter custom columns in a presentation

    I haven't found anything in the documentation, so I post this question and hope to get an answer:
    In ALBPM 6 is it possible
    A) to display custom columns in a presentation, and
    B) to filter using these custom columns in a view?
    I am thinking of having several views enabling to display process instances by certain filter criteria: builtin but also custom criteria.
    Thanks a lot!
    Bernd

    Oh oh. I have just found documentation:
    What are Project Variables?
    Project variables are a special kind of instance variable which has more visibility than a normal instance variable. Project variable values can be searched for, and can be displayed in AquaLogic BPM WorkSpace views.
    So I will go and test this.

  • How to hide some column filter operators in Interactive Report

    Hi,
    I have an APEX 4.2 application what includes Interactive Report page.
    Is there possibilty to hide or disable some filter operators in column filter?
    But I don't want to disable all filter functionality for end users.
    For example how to hide/disable operator "matches regular expression".
    Some filter operators are too complicated for end users.
    I have searhced but not found solution.
    regards,
    Erkki

    erkkik wrote:
    I have an APEX 4.2 application what includes Interactive Report page.
    Is there possibilty to hide or disable some filter operators in column filter?
    But I don't want to disable all filter functionality for end users.
    For example how to hide/disable operator "matches regular expression".
    Some filter operators are too complicated for end users.
    I wouldn't really recommend this. Users will quickly recognise what works for them and avoid options that they do not currently understand. However, over time—through training or advice from more experienced users—they may come to understand and use all of the available features. Blocking access (especially in a non-standard way) to options that users may eventually need is likely to result in unnecessary development work now and at some (possibly inconvenient) time in the future.
    That said, this really isn't difficult to implement using CSS. Use your browser web inspector to identify which filter types are to be blocked, using the value attribute of the filter Operator select list in the generated IR HTML. For example, in APEX 5.0 a filter operator select list looks like:
    <select id="R70597672218719366505_STRING_OPT" class="a-IRR-operator" data-column-type="STRING" title="Operator" name="p_ignore_10" size="1">
      <option value="=">=</option>
      <option value="!=">!=</option>
      <option value="is null">is null</option>
      <option value="is not null">is not null</option>
      <option value="like">like</option>
      <option value="not like">not like</option>
      <option value="in">in</option>
      <option value="not in">not in</option>
      <option value="contains">contains</option>
      <option value="does not contain">does not contain</option>
      <option value="regexp_like">matches regular expression</option>
    </select>
    The "matches regular expression" option has the value regexp_like, so the required CSS rule using the IR operator select list class and an attribute selector on the option value is:
    .a-IRR-operator option[value="regexp_like"] {
      display: none;
    Additional selectors for other filter types can be added to this rule as required, for example:
    .a-IRR-operator option[value="regexp_like"],
    .a-IRR-operator option[value="is not null"] {
      display: none;
    to eliminate the "is not null" filter.
    To implement this for all IRs in your application, create a custom CSS style sheet containing the rule, upload it to your workspace, and reference it in all of the page templates used for IR pages.
    This is not a 100% foolproof solution. CSS is not an appropriate way to implement security restrictions. A web-savvy user could use their web inspector to disable the CSS rule and access the blocked filter(s). However there is little risk here as (1) it appears that your users will lack the required expertise; and (2) doing so will only allow them to further filter data they already have access to.

  • Custom columns in task list

    Hello,
    I'd like to ask your help with a problem concerning the task list page.
    For each task I have some additional data stored in a remote database, I use the "task number" for the join. What I'd like to do is:
    - show these extra values in the task list in new, custom columns
    - give the user the ability to filter and sort by the new columns
    Could you give me some ideas to get me started? Should I dig deep into the "TaskList" servlet and somehow extend the column set and add the values to the tasks using JDBC? Is this goal achievable at all??
    Any help will be much appreciated,
    Denes Toth

    Hello again bnainani,
    I tried to define a flex field mapping and display it in the task list. Creating the mapping went fine, but I couldn't select the new column ("label") when creating a custom view to display the flex field data.
    The Developer's Guide sais "A mapped payload attribute can also be displayed as a column in a custom view, and used as a filter condition in both custom views and workflow rules.". But how van I achieve this? The flex field label is not displayed in the available columns dropdown when selecting the columns of the view.
    What am I missing?
    Once again, thanks for any help in advance...

  • Position of column filter

    Hi,
    I have a customer requirement forcing me to place the column filter under the column headerText.
    I have no clue how to do that.
    I tried to google it(maybe with the wrong key words).
    I tried to find the component in the skin editor.
    Can anyone help?
    Any hints... Howto´s are welcome.
    Thx in advance,
    Christof

    Hi Christof,
    The af:column has facets. You can use the header facet to add something like a panelGroupLayout vertical oriented with the outputText containing the header and then the input with filter. However this would be a custom filter so you need to look at the how to create a custom filter model. Here the column tag documentation
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_column.html
    And here how to implement the filterModel
    http://www.connotea.org/user/jdeveloper/tag/filter
    Cheers,
    Juan Camilo

  • Custom Table Filter

    I am using Jdeveloper 11.1.1.6
    I have been trying to follow the following documentation: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    The following XML was added to my page def when creating the tree iterator:
    <tree IterBinding="MyColumnLOV1Iterator" id="MyColumnLOV1">
    <nodeDefinition DefName="com.jcc.csg.model.staticview.MyColumnLOV"
    Name="MyColumnLOV10">
    <AttrNames>
    <Item Value="MyColumnCd"/>
    <Item Value="MyColumnDesc"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Here is what my the XML for my column looks like:
    <af:column headerText="#{customstoregroupviewcontrollerBundle.DESCRIPTION_LABEL}"
    id="Description" width="300" sortable="true"
    filterable="true" sortProperty="MyColumnCd"
    align="center">
    <af:selectOneChoice value="#{row.bindings.MyColumnCd.inputValue}"
    label="#{row.bindings.MyColumnCd.label}"
    required="#{bindings.MyVO2.hints.MyColumnCd.mandatory}"
    shortDesc="#{bindings.MyVO2.hints.MyColumnCd.tooltip}"
    id="soc2" readOnly="true">
    <f:selectItems value="#{row.bindings.MyColumnCd.items}"
    id="si2"/>
    </af:selectOneChoice>
    <af:selectOneChoice id="soc1"
    value="#{vs.filterCriteria.MyColumnCd}">
    <af:forEach var="listrow"
    items="#{bindings.MyColumnLOV1.rangeSet}">
    <f:selectItem id="si1" itemValue="#{listrow.MyColumnCd}"
    itemLabel="#{listrow.DepartmentName}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:column>
    For some reason, my itemValue and itemLabel aren't working. If I go to expression builder, I have nothing underneath the "listrow" variable. Do you have some guidance as to why I can't set my itemValue and itemLabel correctly?

    So here is what I have now. I am still unable to get any of the listrow attributes. Do you have any other thoughts
    <af:column headerText="#{customstoregroupviewcontrollerBundle.DESCRIPTION_LABEL}"
    id="Description" width="300" sortable="true"
    filterable="true" sortProperty="MyColumnCd"
    align="center">
    <af:selectOneChoice value="#{row.bindings.MyColumnCd.inputValue}"
    label="#{row.bindings.MyColumnCd.label}"
    required="#{bindings.MyVO2.hints.MyColumnCd.mandatory}"
    shortDesc="#{bindings.MyVO2.hints.MyColumnCd.tooltip}"
    id="soc2" readOnly="true">
    <f:selectItems value="#{row.bindings.MyColumnCd.items}"
    id="si2"/>
    </af:selectOneChoice>
    <f:facet name="filter">
    <af:selectOneChoice id="soc1"
    value="#{vs.filterCriteria.MyColumnCd}">
    <af:forEach var="listrow"
    items="#{bindings.MyColumnLOV1.rangeSet}">
    <f:selectItem id="si1" itemValue="#{listrow.MyColumnCd}"
    itemLabel="#{listrow.DepartmentName}"/>
    </af:forEach>
    </af:selectOneChoice>
    </f:facet>
    </af:column>

  • Content Search Query Builder - filtering for custom column value

    I want to use a CSWP to display certain pages in a slideshow format on a site.  However, to filter them in a preferred manner, the pages library has a custom column "Spotlight" which is a Boolean type (e.g. yes/no).
    In my "Build Your Query" configuration page, I have added a keyword filter "SpotlightOWSBOOL=Yes" as the criteria to display my results.  This is not working, despite the fact that I currently have pages flagged as "Spotlight"
    in this library. 
    My question is - how can I achieve this result of displaying only pages with a custom column value "Spotlight" as "Yes"?

    Hi Owen,
    Could you capture a screenshot about your Crawled Property for your list column "Spotlight"?  Is it name "SpotlightOWSBOOL"?
    If your library column name is "Spotlight", you can create a custom
    Manged Property (e.g. create name as SpotlightMangedProperty)to map the
    Crawled Propery (e.g. may ows_spotlight, or ows_SpotlightOWSBOOL?) genegrated by list column "Spotlight", then start a full crawl.
    Then you can add the keyword filter like below in "Build Your Query" dialog of CSWP web part, then check if the correct items are filtered.
    SpotlightMangedProperty:"yes"
    If the above value "yes" doesn't work, please also try
    SpotlightMangedProperty:"True", or try SpotlightMangedProperty:1
    More information about this topic you can read is below.
    https://technet.microsoft.com/en-us/library/jj219667.aspx#proc2
    https://msdn.microsoft.com/en-us/library/office/ee558911.aspx#kql_property_restriction_queries
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Bug - column filter doesn't work in 3.1.05

    When viewing a table in sqldev, if you click on a column heading you are given a filter box. That filter never returns any rows. I have tried using the same case as the data, and also entering the filter in LC when the data is in UC - neither one works. I just tested this in 3.0.04, and it doesn't work there, either.

    Here is the description from the Help manual for the function I am trying to use:
    Filter Column enables you to enter a partial value (such as a number or a string; at least two characters for a string), to limit the dialog box display to items containing the partial value, so that you can then select the one item to appear in the grid. For example, entering EMP for column names might show a list of columns including EMPLOYEE_ID and IS_TEMP.
    That function appears in both the Data view, and the Columns view, but doesn't work in either one. I've tried using the exact same case, with and without % signs and single quotes.
    I use sqldev to support Demantra, which has tables with hundreds of columns (plus we've customized it with even more columns). It would help if sqldev sorted those columns by column name. Since it doesn't do that, I could filter the column list to show me just our custom columns using DF_ or DF_% as the filter criteria, if that function worked.
    There is a workaround for filtering data, since you can enter filter criteria in the Filter bar such as err_msg like '%problem%'. But that filter bar doesn't appear in the Columns view.

  • Implementing BADI MD_ADD_COL_EZPS for MD04 custom column

    Hi there,
    I'm using BADI MD_ADD_COL_EZPS to display 3 new buttons and three new columns in MD04.
    For each line item that is displayed, the custom column is filled, after the button is hit -This works fine.
    My Question is:
    Is there any way to limit the value that is filled into the new column so that it only appears on the FIRST line item/row?
    (At the moment it is repeated all the way down the page - the new value is a material characteristic, so doesn't change, will always be the same for each line)
    I've looked at all the available structures/tables in the FILL_ADD_COLUMNS method of the BADI, and none seem suitable
    to determine the "first" row. (ie. something like the way SY-TABIX or SY-INDEX might be used)
    Any help appreciated.
    Thanks,
    David.

    Hi Shubhendu,
    in the method 'ACTIVATE_ADD_COLUMNS', you can set the flag EZ1_MODE to '1' to make the first column visible always. (it's been a while, but I think setting it to '2' makes it visible when the button is pressed.)
    Same applies to EZ2_MODE for second column, EZ3_MODE for third.
    look at the flags/parameters in this method, and also in FILL_ADD_COLUMNS, to fill the data.
    here you need to fill structure EMDEZX_USEX1 (for column 1) etc.
    The code is hit for each record displayed in MD04
    Hopefully this helps you.
    Regards,
    David

  • LOV of column names with a report's custom column headings?

    I have a list ov values definition that looks like this:
    select column_name d, column_name r from all_tab_columns where table_name = 'DATABASE_LIST'
    I'd like to list the custom column headings from a report as d, rather than repeating the column_name. How can I do this?

    As Anton said, the best thing is to store your custom headings in a table so that you can use the table for your LOV as well as for your report headings.
    To use dynamic report headings, you can use the 'PL/SQL function body returning colon-delimited headings' feature on the Report Attributes page.
    So, if your report headings are stored in table t that function body can be
    declare
    l_headings varchar2(4000)
    begin
    for rec in (select heading from t) loop
       l_headings := l_headings||':'||rec.heading;
    end loop;
    return ltrim(l_heading,':');
    end;Hope this helps.

  • Custom column in a list view web part for a multilingual site does not take on custom language labels. Stays in default language.

    Hello all,
    I have what so far appears to be a fairly unique problem.  We are running a multilingual SharePoint 2010 environment with English as the default language and French as the secondary.  We have setup the sites in a variance relationship, but the
    issue I am discussing happens outside of a variant as well.
    We have created a library outside the variant (but within the collection) that the two sites must share.  A list view web part was created via Designer to add to each site to provide a quick view into the list.  If we are in the libary and switch
    to French, then update the column label it will remember the setting (because of the resource file) and maintain it as the language is flipped back and forth.  Where it doesn't work is as a web part in a variant or where the language is different.
    If the language is different, the out of the box columns work find, but the custom columns (all site columns not library\list columns) remain as the english label.  It doesn't matter if within a variant or outside with the browser language changed. 
    It always reverts back to English.  It's like it isn't using the same resource file that was used in the list itself.
    I created a custom view and modified it with xslt as per
    http://sharepoint.stackexchange.com/questions/50004/how-to-change-column-title-for-a-view-but-not-modify-the-list but this only worked within the list and did not occur in the list view either.
    I can't be the first that has come across it, either I am not performing my searches properly, no one has ever documented a fix for this or this is something we just can't fix with OOTB tools.  That's the other thing, the solution has to be accomplised
    OOTB or with minor client side changes.  I can't fire up Visual Studio because they are piloting Office 365 and have put a "No custom code" mandate on for migration.
    Thank you all in advance.

    Ok, I have come up with a solution.  I edited the XSLT for the web part on the page.  I did the following:
    1.    Create the variants in the Site Ccollection
    2.    Create the library outside of the variants.
    3.    Add all the columns you require for the library.  It is very important all the columns are there before you move on.
    4.    Create a French and English view.
    5.    Create the list view web part via designer.
    6.    Add the list view web part to each site selecting the appropriate view to use.
    7.      Edit the page in SharePoint Designer 2010.
    8.      Place cursor in the column you wish to modify.
    9.      Click Design in the List View Tools on the ribbon.  
    10.     Then click Customize XSLT and select Customize Item.  Select this option otherwise you will generate a **LOT** of unnecessary XSL code.
    11.     You are looking for a piece that resembles the following:
            <xsl:with-param name="fieldtitle">
              <xsl:value-of select="@DisplayName"/>
            </xsl:with-param>
    12.      Modify it by typing in the actual column name you want.  You should end up with something like this:
            <xsl:with-param name="fieldtitle">
              New Column Name.
            </xsl:with-param>
    13.      Now, for this page only, the column will be renamed.
    There are some caveats:
    1.    Doesn’t appear to work in a publishing portal.  I think this has to do with how SP stores the pages in this case.  In a publishing portal you can only modify the page layout which won’t work as we need to modify the content.
    2.    If you add another column, you will need to repeat the XSLT modification
    Anyways, I hope this helps out any others with the same issue or need as I had.

  • Custom column in List view

    Dear guru's,
    I'd like to ask you if its possible to add custom column in list view. For example in tc. FBL1N I'd like to add a column with custom text (for example with value "1" for counting the sum of rows). Is it possible to do without creating custom program?
    Thank you all.
    Regards.
    Michael.

    Hi Michael,
    It's not possible to add some extra text in standard out-put without modifying it or creating custom program.
    For adding a column in your list view. I think this write statement will help you
    WRITE 'You can overwrite the following line:'.
    FORMAT INPUT ON INTENSIFIED OFF.
    WRITE 'WRITE HERE'.
    FORMAT INPUT OFF INTENSIFIED ON.

  • Import From Folder: How to Extract the File Name in a Custom Column.

    Hello All
    Here´s what we´re trying to do:
    We have a folder with csv files named like this:
    Sales_2013-02-05.csv
    Sales_2013-02-04.csv
    Sales_2013-02-03.csv
    Sales_2013-02-02.csv
    Sales_2013-02-01.csv
    And in the csv files there are the sales columns but not the date column.
    So we want to extract the date from the file name.
    I´ve tried entering = Source[Name] in a custom column, but it adds a "LIST" link, and on a click on expand, it adds ALL file names from the folder in each row, instead of just the needed one.
    If we could get the proper file name in each row (from where they got extracted), we could split the column and get the date from there. But I don´t know how put the filename there properly.
    Can you help?

    This isn't entirely straightforward, but it's definitely possible. What you need to do is to apply all of your transforms to each individual file instead of the combined files. I do that as follows:
    1) Use Folder.Files as generated by the GUI to look at the list of my files.
    2) Pick one file and do all the transformations to it that I want to apply to all of the files. Sometimes, this just amounts to letting the autodetection figure out the column names and types.
    3) Go into the advanced editor and edit my code so that the transformations from step 2 are applied to all files. This involves creating a new function and then applying that function to the content in each row.
    4) Expand the tables created in step 3.
    As an example, I have some files with names that match the ones you suggested. After steps 1 + 2, my query looks like the following:
    let
        Source = Folder.Files("d:\testdata\files"),
        #"d:\testdata\files\_Sales_2013-02-01 csv" = Source{[#"Folder Path"="d:\testdata\files\",Name="Sales_2013-02-01.csv"]}[Content],
        #"Imported CSV" = Csv.Document(#"d:\testdata\files\_Sales_2013-02-01 csv",null,",",null,1252),
        #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
        #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
    in
        #"Changed Type"
    For step 3, I need to take steps 3-5 of my query and convert them into a function. As a check, I can apply that function to the same file that I chose in step 2. The result looks like this:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        #"d:\testdata\files\_Sales_2013-02-01 csv" = Source{[#"Folder Path"="d:\testdata\files\",Name="Sales_2013-02-01.csv"]}[Content],
        Loaded = Loader(#"d:\testdata\files\_Sales_2013-02-01 csv")
    in
        Loaded
    Now I apply the same function to all of the rows, transforming the existing "Content" column into a new value:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        Transformed = Table.TransformColumns(Source, {"Content", Loader})
    in
        Transformed
    Finally, I need to expand out the columns in the table, which I can do by clicking on the expand icon next to the Content column header. The resulting query looks like this:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        Transformed = Table.TransformColumns(Source, {"Content", Loader}),
        #"Expand Content" = Table.ExpandTableColumn(Transformed, "Content", {"One", "Two", "Three"}, {"Content.One", "Content.Two", "Content.Three"})
    in
        #"Expand Content"
    From here, you should be able to get to what you want.

Maybe you are looking for

  • [ALV] Save as dialog box is - in fact - Save as Web Page

    Hi, When exporting ALV to Excel from a Web Dynpro application, the Excel file opens correctly. But, upon calling the "Save as" entry, the dialog box is not the expected one: it is the Save as Web page one. Although I tried to change Excel format usin

  • Trouble Installing Photoshop CS5

    Hi, When I try installing Photoshop CS5 i get the following error message. I am trying to install from CS5.5 Master Collection. Dreamweaver, Flash, Illustrator and Premier Pro all install fine, the error is just with photoshop CS5.1 and CS5.1 64 bit.

  • Can't Sync with MobileMe and I get this error.

    Help me, I can't sync with MobileMe cuz I keep receiving this message. I can't understand what it means.

  • Upload ZIP File

    Hi Experts, Is it possible to upload multiple files or can we upload a ZIP file in web dynpro abap???? I got to know about an intersting UI element of AcfUpDownload UI element, but still am not getting clear on it. Also I have checked in this link We

  • Get rid of the google search bar??

    I want net neutrality. Google must go. I loaded Firefox on windows-xp and the Google search bar still comes up within Firefox. How do I GET RID OF GOOGLE?? I have used Firefox on Linux also on the same machine.