Forum Replies Created
-
# 2 years ago::
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!
Juliain reply to: Table Filter Option# 2 years ago::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!
Juliain reply to: Table Filter Option# 2 years ago::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!
Juliain reply to: Table Filter Option# 2 years agoin reply to: Trigger Button on Mobile# 2 years ago::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
Juliain reply to: Trigger Button on Mobile# 2 years agoin reply to: Trigger Button on Mobile# 2 years ago::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.
in reply to: Trigger Button on Mobilein reply to: Trigger Button on Mobile# 2 years agoin reply to: Trigger Button on Mobile