about Function SetDataBrowserTableViewItemRow

about Function SetDataBrowserTableViewItemRow

Post by jiazh » Wed, 03 Nov 2004 12:56:01


I want to move selected row on some position programmaticaly
(say, cell from row 10 at row number 4),
I think I should use :

err=GetDataBrowserTableViewItemID
(
browser,
&itemID,
10/*row*/ );

err=SetDataBrowserTableViewItemRow
( browser /*my browser*/,
itemID /*itemID at row 10*/,
4/*row*/
);
but nothing happened. The position of all rows is the same as before
call.


Thank you.
 
 
 

about Function SetDataBrowserTableViewItemRow

Post by Miro Juris » Wed, 03 Nov 2004 13:50:23

In article < XXXX@XXXXX.COM >,



Either remove the item and reinsert it, or use a sort callback that puts them in
the order you desire.

hth

meeroh

--
If this message helped you, consider buying an item
from my wish list: < http://www.yqcomputer.com/ ;