I think there's a bug in Magritte in
renderCellLinkContent:on: method has, html callback:, but i
believe it should be html anchor callback:
you are right of course. I fixed that in the latest version of Magritte.
As well, it seems to render MACheckboxColumn as a
with a square in the middle when selected, rather than as a
checkbox. I'm completely baffled by this... googling only got me to
a suggestion about it was using the old renderer, but I tried
overriding rendererClass to return WAHtmlCanvas, but no luck.
Completely baffled on this. Any ideas?
By default MAReport tries to use links (and a picture) instead of real
form elements. This has the advantage that you don't need to worry
about putting the report into a form and submitting if after changes.
You can tell the MACheckboxColumn to use a checkbox instead by setting
"aColumn useLinks: false".
Also, when you created MAReport, did you ever think
possibility of needing to reorganize columns which were appended to
the description? Or was this something which was left as an
exercise to the end-user?
Yeah, MAReport is far from ideal. It was originally made for some
commercial projects and later-on extended several times to meet new
requirements. It is not that easily useable as other parts of Magritte.
It is possible to reorganize columns though. Have a look at the ESUG
registration application, as far as I remember it is done in the admin
I'm just trying to grok this all, as I was about
to implement my own
stuff from scratch when I found Magritte, which is really cool!
What I was going to implement, was basically an equivalent to
NSTableView, etc. in Cocoa, alongside, NSArrayController and
Bindings. (mainly just because I've been developing on the Mac for
so long now it seems my brain is wired that way) But I'm hoping
Magritte can help me avoid that.
If you have any other improvements to the code of Magritte and believe
that this is of general interest, please just commit your changes to