Hi everyone. I need some help. I have a CSV file created from App . This this csv file have 11 rows . I want to separate tis rows to 11 separate lists views , is this possible? And second i need to take the subtotal from the 11row (last row from tis list row "K"
)
Thanks
TIMAI2
May 30, 2024, 10:41am
2
Nope, 11 columns
Are you sure, this would be very messy. Why not consider displaying the data in a table - You could use the Tableviewer extension for this.
I have make another version of TableViewer, it's a package of Webviewer and Javascript and CSS.
so you can set up the style as you wish, if you know some CSS knowledge.
v8 UPDATE
add event OnShowTable, fired after ShowTable is called.
v7 UPDATE
add property TransparentBackground, designer only.
V6 UPDATE
SetStyleSheet now can accept url to an external css file.
add SetClass block, which can set class to a tag or id selector
add ClearStyle block, which can clear all styles, including the …
Also, you do not want to do this:
Learn how to switch screens correctly, or just use virtual screens
Ramon
May 30, 2024, 10:52am
3
I suppose you want the sum of the col 11 values.
Here a example with 3 cols, where the the values of the third col are added:
1 Like
Ramon
May 30, 2024, 11:24am
6
How do you want to display the data? have you checked the Table extension Tim has pointed you above?
yes but i try to download and i can't
Ramon
May 30, 2024, 11:29am
8
What problem do you have?
have you got a ling for this?
Ramon
May 30, 2024, 11:54am
11
This works for me perfectly (the link provided in the extension topic):
表格视图扩展 - 浮云小站 (kevinkun.cn)
Runtime Error
java.lang.NoSuchMethodError: No static method setFontTypeface(Landroid/widget/TextView;IZZ)V in class Lcom/google/appinventor/components/runtime/util/TextViewUtil; or its super classes (declaration of 'com.google.appinventor.components.runtime.util.TextViewUtil' appears in base.apk)
Note: You will not see another error reported for 5 seconds
Ramon
May 30, 2024, 1:13pm
13
Have you seen the examples in the extension topic? Share your blocks...
Ramon
May 30, 2024, 1:31pm
15
You are not using the extension we were talking about...you are using other extension...but an out of date version.
If you want to use that extension use this version:
NEW VERSION (5), WORKING WITH nb195 +
@Ken provided the source code, @Kevinkun fixed it to work with current versions of AppInventor. He has removed the ability to use a custom font, but for most people this should not be an issue?
Here is the updated aix file:
com.kennicholsandroid.TableView.aix (21.3 KB)
CREDITS: @Ken for the original extension, @Kevinkun for the fix.
[UPDATE - 2023-01-14]
If the above version doesn't work in Companion, it may be for one of two reasons.
Either try this …
With this extension it also works:
1 Like
any ide how i can take tha subtotal from the last colums text??
system
Closed
June 6, 2024, 5:32pm
17
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.