Welcome Guest Search | Active Topics | Sign In | Register

Grid Question! Options
sjf
Posted: Tuesday, December 14, 2010 3:30:36 AM
Rank: Member
Groups: Member

Joined: 11/27/2010
Posts: 13
hi,
i want to know how to get the "RowNumberColumn" column value?
eo_support
Posted: Tuesday, December 14, 2010 8:44:02 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The value is the row index. You can call this function to get the row index:

http://doc.essentialobjects.com/library/1/jsdoc.public.griditem.getindex.aspx

Thanks
sjf
Posted: Wednesday, December 15, 2010 8:56:12 PM
Rank: Member
Groups: Member

Joined: 11/27/2010
Posts: 13
eo_support wrote:
Hi,

The value is the row index. You can call this function to get the row index:

http://doc.essentialobjects.com/library/1/jsdoc.public.griditem.getindex.aspx

Thanks


When i delete item from the grid,item.getIndex() get the index is not the value on visible item.

example: row is 1,2,3,4,5 when i delete 2,then item.getIndex() for 3 is not 2 on visible.
eo_support
Posted: Thursday, December 16, 2010 7:44:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

That is true. getIndex does not skip invisible items. We will add a getVisibleIndex on the GridItem object in our next build so that you can get the visible item index.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.