GuiGridListInsertRowAfter: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 11: Line 11:
===Required Arguments===  
===Required Arguments===  
*'''gridList:''' The grid list you want to add a row to
*'''gridList:''' The grid list you want to add a row to
*'''rowIndex:''' Row ID of the row you want to insert the [b] new [/b] row after.
*'''rowIndex:''' Row ID of the row you want to insert the '''new row''' after.


===Returns===
===Returns===

Revision as of 15:44, 7 May 2012

This allows you to insert a new row after a specified row. Good for inserting new rows in the middle of existing rows.

Syntax

int guiGridListInsertRowAfter ( element gridList, int rowIndex )

Required Arguments

  • gridList: The grid list you want to add a row to
  • rowIndex: Row ID of the row you want to insert the new row after.

Returns

Returns true if the row was successfully added, false otherwise.

Example

Click to collapse [-]
Client
-- Add example..

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows