Forum Replies Created

  • Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hello!

    Thank you very much! It works now! 🙂

    Two more question has arisen from this while implementing the filters for one column.

    In the selection list for the filter is now for every row value in the table on selection. So I have the same selection value ten times and more, for example if I want to filter for “notebook”, I have this selection for every notebook (over 10 times), and not just one selection for notebook.
    Can I somehow collapse the values?

    And, in my list I have check boxes. How can I filter check boxes? Or do you have another idea for handling true/false values in a table and SQLite database?

    Thank you very much!
    Julia

    in reply to: Table Filter Option
    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Jonas,

    since I am still very new to the topic, could you give me an exact example of how to insert the filter?

    More precisely, I need several filters, since I have different columns.
    One is a filter that allows me to select all the possibilities that are in this column (texts/places) (with multiple selection).
    And a filter with which I can filter in a column with date-time data according to a time period in the column.
    I also have columns with checkboxes, for which a filter function would also be good, and numerical values (costs).

    I would like to equip all columns with filters? Is there any documentation on how to use and install these filters? Or do you / do you have examples for me?

    Thanks in advance for your help!
    Julia

    in reply to: Table Filter Option
    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Chris,

    thanks for the doc. I’ve seen this before. But I’m stuck with using this in the app.

    That type of table do I have to use? sap.ui.table.Table? sap.m.Table? Or another?

    I’ve seen with ui-Table there are options like enableCellFilter. Is this the enabling for this functions? (Although I’m hanging with getting my data in the table at the moment).

    How to use them?

    Thanks!
    Julia

    in reply to: Table Filter Option
    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hello Malfurion,

    unfortunately, this doesn’t work either.

    We’re using the ui-FileUploader so we also have the upload from device function.

    Best regards
    Julia

    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Dinkel,

    I’ll annotated your post in bold letters here.

    ___________

    Add a button (sap.m.Button) and add the following to the press event like you did in a post above.
    I guess you mean a additionally button in the same screen as the FileUplaoder? Ok, done that.

    var fileUploader = $(‘#Create_Image–ui_unifed_FileUploader-fu’);
    if (fileUploader !== null)
    fileUploader.click();

    Then add to the onAfterRendering of your screen the following code:
    You mean to the screen containing the buttons, right? Ok …

    $(‘#Create_Image–ui_unifed_FileUploader-fu’).change(function() {
    $(‘#Create_Image–ui_unified_FileUploader1-fu_form’).submit();
    });

    Now hide the button with a CSS rule which says
    I’ve guessed you mean I should hide the new button? Ok …

    display: none;

    Now you can trigger the hidden button with
    Done that too …

    sap.ui.getCore().byId(“Id_Of_The_Button”).firePress()

    On this way the file chooser will appear automatically.
    But unfortunately nothing happens.

    __________

    Have I done something wrong?

    Best regards
    Julia

    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Jonas,

    I’ve described the case in the message above 🙂

    I’m using a button of the type “io.simplifier.widgets.FileUploader_FileReader”. You know this type?

    unfortunately, .firepress() doesn’t work either.

    Thank you very much for your help!
    Julia

    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    I try to reduce the tip actions for the users.

    When the dialog with the file uploader opens, i want the file uploader button to be “pressed” automatically, so the users don’t have to press the button every time they take a picture (they’ll take a lot of pics every day).

    It would be best to also start the camera automatically and have an “upload from device” function in the camera as usual on a iPhone. But that’s optional.

    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Jonas,

    I’ve tried this before. Doesn’t work 🙁

    Best regards
    Julia

    Julia
    Participant
    • Topics: 4
    • Replies: 9
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Jonas,

    yes, JQeury.

    var fileUploader = $('#Create_Image--ui_unifed_FileUploader-fu');
    if (fileUploader !== null)
    fileUploader.click();

    Best regards!
    Julia

Viewing 9 posts - 1 through 9 (of 9 total)