开发者

Moving single rows in a dataGrid in flashbuilder4

开发者 https://www.devze.com 2023-02-04 18:34 出处:网络
Is it possi开发者_如何学Cble to have \"Move-Up / Move-Down\" buttons that can move a selected row in a dataGrid and move it to a different row in the database?

Is it possi开发者_如何学Cble to have "Move-Up / Move-Down" buttons that can move a selected row in a dataGrid and move it to a different row in the database?

Where can I get more info or an example of this and what would this type of operation be called?

Thanks


Is it possible to have "Move-Up / Move-Down" buttons that can move a selected row in a dataGrid and move it to a different row in the database? 

Yes, but you'll have to implement those buttons yourself, along with the algorithm to change your dataProvider as those buttons are clicked.

I created a list with these sort of buttons. We call it a DataSorter.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号