Table of Contents

Class AbstractRow<TColumn, TCell>

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

Represents the Row object.

public abstract class AbstractRow<TColumn, TCell> : IdentifiableModel where TColumn : Column where TCell : Cell

Type Parameters

TColumn
TCell
Inheritance
AbstractRow<TColumn, TCell>
Derived
Inherited Members

Properties

Above

Flag used to specify the location at which to create or move a row. Optionally used in conjunction with siblingId with a value of true to indicate that the row should be added above the specified sibling row. This attribute can be specified in a request, but will never be present in a response.

public bool? Above { get; set; }

Property Value

bool?

true if to be added above sibling row

AccessLevel

Gets the user's permissions on the sheet.

public AccessLevel? AccessLevel { get; set; }

Property Value

AccessLevel?

the access level

Attachments

Gets the Attachments.

public IList<Attachment> Attachments { get; set; }

Property Value

IList<Attachment>

the Attachments

Cells

Gets the Cells.

public IList<TCell> Cells { get; set; }

Property Value

IList<TCell>

the Cells

Columns

Gets the Columns.

public IList<TColumn> Columns { get; set; }

Property Value

IList<TColumn>

the Columns

ConditionalFormat

Format descriptor describing this row’s conditional format (see Formatting) Only returned if the include query string parameter contains format and this row has a conditional format applied.

public string ConditionalFormat { get; set; }

Property Value

string

the conditional format

CreatedAt

Gets the date and time a row was created.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

the created at

CreatedBy

User object containing name and email of the creator of this row

public User CreatedBy { get; set; }

Property Value

User

User object

Discussions

Gets the Discussions.

public IList<Discussion> Discussions { get; set; }

Property Value

IList<Discussion>

the Discussions

Expanded

Checks if the row is Expanded.

public bool? Expanded { get; set; }

Property Value

bool?

true, if is Expanded

FilteredOut

true if this row is filtered out by a column filter (and thus is not displayed in the Smartsheet app), false if the row is not filtered out. Only returned if the include query string parameter contains filters.

public bool? FilteredOut { get; set; }

Property Value

bool?

true if row is filtered out

Format

Only returned if the include query string parameter contains format and this row has a non-default format applied.

public string Format { get; set; }

Property Value

string

the format

InCriticalPath

Only returned, with a value of true, if the sheet is a project sheet with dependencies enabled and this row is in the critical path.

public bool? InCriticalPath { get; set; }

Property Value

bool?

true if is in critical path

Indent

integer value specifying the number of levels to indent this row. This attribute can be specified in a request, but will never be present in a response.

public int? Indent { get; set; }

Property Value

int?

the number of levels to indent this row

Locked

true if the row is locked by the sheet owner or the admin. Returned if the row is locked.

public bool? Locked { get; set; }

Property Value

bool?

true if row is locked

LockedForUser

True if the row is locked for the requesting user. Returned if the row is locked.

public bool? LockedForUser { get; set; }

Property Value

bool?

true if row is locked for user

ModifiedAt

Gets and Sets the date and time a row was last modified.

public DateTime? ModifiedAt { get; set; }

Property Value

DateTime?

the modified at

ModifiedBy

User object containing name and email of the last person to modify this row

public User ModifiedBy { get; set; }

Property Value

User

User object

Outdent

integer value specifying the number of levels to outdent this row. This attribute can be specified in a request, but will never be present in a response.

public int? Outdent { get; set; }

Property Value

int?

the number of levels to outdent this row

ParentId

If this is a child row, the ID of the parent row, else omitted from response

public long? ParentId { get; set; }

Property Value

long?

the ParentId

ParentRowNumber

Gets the parent row number.

public int? ParentRowNumber { get; set; }

Property Value

int?

the parent row number

URL that represents a direct link to the Row in Smartsheet Only returned if the include query string parameter contains rowPermalink.

public string Permalink { get; set; }

Property Value

string

RowNumber

Gets the row number.

public int? RowNumber { get; set; }

Property Value

int?

the row number

SheetId

Gets the Id of the sheet.

public long? SheetId { get; set; }

Property Value

long?

the sheet Id

SiblingId

The ID of the previous sibling row at the same hierarchical level of this row, if any, else omitted from response

public long? SiblingId { get; set; }

Property Value

long?

the SiblingId

ToBottom

Flag used to specify the location at which to create or move a row. Indicates that the row should be added to the bottom of the sheet, or, if used in conjunction with parentId, added as the last child of the parent. This attribute can be specified in a request, but will never be present in a response.

public bool? ToBottom { get; set; }

Property Value

bool?

true if row should be added to bottom

ToTop

Flag used to specify the location at which to create or move a row. Indicates that the row should be added to the top of the sheet. This attribute can be specified in a request, but will never be present in a response.

public bool? ToTop { get; set; }

Property Value

bool?

true if row should be added to top

Version

Gets the Version number that is incremented every time a sheet is modified.

public int? Version { get; set; }

Property Value

int?

the Version

Methods

GetColumnById(long)

Get a column by it's ID.

public TColumn GetColumnById(long columnId)

Parameters

columnId long

the column Id

Returns

TColumn

the column by Id

GetColumnByIndex(int)

Get a column by it's Index.

public TColumn GetColumnByIndex(int index)

Parameters

index int

the column Index

Returns

TColumn

the column by Index