[FREE] CompCreator- lite version of DynamicComponents extension

Thank you!

v2 UPDATE

New blocks:
Snipaste_2021-11-18_15-29-57
Set function:
Attach a <tag,value> data on some component.
tag: any String
value: any Object, like String, Number, List, Dictionay, even component;
This can be used to componnets even not created dynamicly.

Get function:
retrieve the data from some component.
return blank string if no such component or no such tag.

Example:



Demo aia:
DCLITE.aia (13.6 KB)

aix:
pls down load v3

8 Likes

Quite amazing your work…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Thanks @TimAi2 's feedback, V3 is here

https://www.kevinkun.cn/compcreator.html

update
1: set missing property in any Component drawer.
2. change name to CompCreator.

All blocks:
2022-01-02_225920

2022-01-05_213915

tag: String.
it can be following 3 type:

  1. property name of the component: this can set the build-in perperty;
  2. ‘index’: this can set the order of the component;
  3. any other string: a custom property attached to this component
3 Likes

Can I have an aia for showing a csv file with unknown columns number ?

@Kevinkun why change the topic compcreator it waz dclite

bcs I changed the name of the extension to CompCreator. DCLite is a bit of a misnomer.

give a demo csv pls

I’m sorry, I can’t attach csv file

Name,Num1,Num2,Num3
aaa,111,1111111,12
bbb,222,2222222,22
ccc,333,3333333,32
ddd,444,4444444,42

is it possible to use HorizontalScrollArrangement ?
My goal is a csv editor, see below my current blocks

i have seen same in other post/community.

use label to display the data.

when any label clicked,
get its col and row
popup a input dialogue, ask user to write the new value.

when input finish
save/update data in the csv
display new data on the label

Why labels ? I would edit the cells in place
is it possible to use HorizontalScrollArrangement ?
How can I automatize colums inserting ?

possible and yes.

Can you update my aia ?
CSV_DCLITE.aia (9.7 KB)

pls explain in detail what you want to achieve? or make one drawing?

  1. show a table from csv file with many colums with horizontal scrolling
  2. edit cells content in place
  3. save chenges to csv file

@patel


Thank you very much, I can see the cells but not their content, please check my aia
CSV_1.aia (14.4 KB)

Try using any textbox blocks

it’s always the best to post your code photo here than upload aia file, if the code is not that much.
since others need to download this aia, upload to my project, that takes a long time.