XLQP Gen1
ElementsControls

AddChecklist

Adds a list of independently selectable checklist items.

AddChecklist

What it does

Adds a list of independently selectable checklist items.

When to use it

Use it when users may select several tasks or requirements at the same time.

ElementFunction:AddChecklist(CheckConfig)

RightGroup:AddChecklist({
    Name = "Setup Checklist",
    Items = {
        {Text = "Window loaded", Checked = true},
        {Text = "Tabs synced", Checked = true},
        {Text = "Configs saved", Checked = false}
    },
    Callback = function(index, checked, text)
        print(index, checked, text)
    end
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.