Hi,
I have an application in which i am trying to display information about the
student in a table. The table has 2 columns. One representing the
enble/disble in a check box
and the other column representing the student column. I have enabled
double-click action on the table column.
So once i double click on a specific row, i display a sheet and the sheet
will display the Name of the student and a table below with 2 columns. First
column will represent the subject name and the second column will represent
the marke he has scrored in number. i want to use Binding for this
application.

So I have a model class some thing like this

@interface studentmodel
{
     BOOL    enabled;
     NSString Name;
     NSMutableArray *subjectDetails;
}
@end

The subjectDetails will hold the objects of class
@interface deatils
{
     NSString    *subjectName;
     int                marks;
}
@end

For the first table i have used the an array in my controller and this array
has been set as content array in the ArrayController object.
Now when i double click in need to bind the table in the sheet to the the
 subjectDetails array. I am not able to figure out how to set the binding
for the second table.
Any ideas?

Thanks
Arun KA
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to