• 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 Matrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resize Matrix


  • Subject: Resize Matrix
  • From: email@hidden
  • Date: Fri, 7 May 2004 15:25:24 +0530

Hi,

The "renewRows: columns:" method is for resizing the matrix, but this method
doesn't 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 doesn't 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.

Also, did anyone tried to remove a single cell from a matrix and reconstruct
the matrix?

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: Re: Enabling dataCells with bindings
  • Next by Date: Re: [OFF] connect.apple.com Asia Pacific mirror broken?
  • Previous by thread: Resizing the NSMatrix
  • Next by thread: Re: Resize Matrix
  • Index(es):
    • Date
    • Thread