[FREE] CompCreator- lite version of DynamicComponents extension

NEWEST V3 HERE:

Thanks for yusufcihan’s wonderful Dynamic Components extension, we can create UI dynamicly as our wish.

This is a lite version of DynamicComponents extension, it create and return an component directly, you may save it to a variable, or into a list or a dictionary for later use.

BLOCKS
2021-08-29_213024

only 2 blocks, no ID needed. :grinning:

DEMO
how to create a card view:

26 Likes

Wow, seems to be very simple… Hmmm. Let me try it … You are Great!!! . Very Handy

Epic work :+1:

1 Like

which is great but how can you identify for example which button was clicked without an id?

You can save the component in a list/dictionary

when some button is clicked, check if it’s in the list/dictionary

2 Likes

awesome job :heart:

I can’t actually find the new blocks created by the extension

Check whether you made the cardview or arrangement visible or not. First component must be visible I hope

Instead of using component just type the name of the component, it will be good to use

show your blocks code pls

What about button click ? Please me give an example , please

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 ?

@wangsk789 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