• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Resize NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resize NSMatrix


  • Subject: Resize NSMatrix
  • From: email@hidden
  • Date: Fri, 7 May 2004 14:42:51 +0530

Hi,

The "renewRows: colums:" method is for resizing the matrix, but this method
doesnot change the position of the cells accordingly. For example the cell
at (0, 3) position in a (4 * 5) matrix should move to (1, 1) position when
the matrix is resized to (10 * 2).

"renewRows:columns:" creates new rows or columns but doesnot reposition the
cells.

Alternatively, I collected all the cells of the matrix to an NSArray before
resize and used that to reconstructed the matrix after resize. In this
process I used "addRowWithCells" method. But here also the cells that are
newly created appear blank and the position of the cell is not getting
changed.

Is anyone there facing the same problem?, Please give your suggestions to
overcome this problem.

Thanks in Advance,

Regards,
Nagarajan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Enabling dataCells with bindings
  • Next by Date: Resizing the NSMatrix
  • Previous by thread: Re: Enabling dataCells with bindings
  • Next by thread: Resizing the NSMatrix
  • Index(es):
    • Date
    • Thread