开发者

NSTableView Make Cell Editable Programmatically

开发者 https://www.devze.com 2023-03-19 20:09 出处:网络
The requirement is something like this, -- Similar to pList , there would be an + button, when user select this, it should make the last row editable,

The requirement is something like this, -- Similar to pList , there would be an + button, when user select this, it should make the last row editable,

开发者_如何学Go

Any idea how its feasible, i am able to get which row is selected, but not able to proceed further.


Just set the row to be editable via the provided methods.

NSCell *lastCell; // Find last cell
[lastCell setEditable: YES];
0

精彩评论

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