GuiReferenceSetSingleSelection

Sets the currently selected row in the Reference View instance.

void GuiReferenceSetSingleSelection(int index, bool scroll);

Parameters

index integer representing the row index to set the current selection to.

scroll a boolean value indicating if the selected index should be scrolled into view if it is not currently.

Return Value

This function does not return a value.

Example

GuiReferenceSetSingleSelection(0,true);