Skip to content

A table control which can be sort and dynamic updata for Godot

License

Notifications You must be signed in to change notification settings

sericaer/godot_table

Repository files navigation

godot_table

A table control which can be sort and dynamic update for Godot

Usage

create table in editor

image

select row

image

dynamic change data

gdscript

func _on_Button_pressed():
	$Table.set_rows([['100', '200'], ['300', '400']])

C#

    private void _on_Button_pressed()
    {
        var param = new Godot.Collections.Array() { new Godot.Collections.Array() { "100", "200" }, new Godot.Collections.Array() { "400", "300" } };

        GetNode("Table").Call("set_rows", new object[] { param });
    }

demo

[https://github.com/sericaer/godot_table_demo]:

About

A table control which can be sort and dynamic updata for Godot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published