In the attachment, i've put two samples of use of the component CTreeview ( standard and async).
Hoping it can help someone
I'm only not sure about my implementation of the callback in the async part but I didn't saw any other way to return data :
public function actionTreeFill()
What you did is good. Thanks for the tip.
This attachment is not available anymore?
If someone has this file, could they please attach it here. Thanks.
I think it’s this one. Had to repack it. I probably just ran it once to find out what it is.
I changed this to:
I have this table:
CREATE TABLE "ADMIN"."ACCOUNT_TYPE_101"
( "ACCOUNT_TYPE_UID" NUMBER PRIMARY KEY,
"DESCRIPTION" VARCHAR2(100 BYTE),
ALTER TABLE "ADMIN"."ACCOUNT_TYPE_101"
ADD CONSTRAINT "ACCOUNT_TYPE_101_BK__FK1" FOREIGN KEY ("ACCOUNT_TYPE_PARENT_UID")
REFERENCES "ADMIN"."ACCOUNT_TYPE_101" ("ACCOUNT_TYPE_UID") ENABLE
And it has this data:
ACCOUNT_TYPE_UID ACCOUNT_TYPE_PARENT_UID DESCRIPTION
1 NULL ASSETS
2 NULL LIABILITIES
3 NULL EQUITY
4 NULL INCOME
5 NULL EXPENSES
6 1 Current Assets
7 6 Cash
How can i implement this using CTreeview?
Thanks in advance…
You are an angel. Thanks for the data formatter. You got yourself a friend.