jit.cellblock feature request or alternative

Hans Leeuw's icon

Dear all,

There are several ways to display data in a table within MAX. I am aware of jit.cellblock, Mubu/ftm and bach.tree. None of these seem to offer the opportunity to wrap the text in text boxes like you can in a spreadsheet application unless I miss the options somehow.

Since jit.cellblock already has the option to control the width of individual columns, a feature missing in the other options, it would be nice if it also offered the opportunity to wrap text in their cells.

If somebody knows about another option I would be grateful for information.

Best and thanks, Hans.

Iain Duncan's icon

If it's important enough, and you are a C programmer, you can make an equivalent in the SDK. I did that for Scheme for Max, making the s4m.grid object (I just realized I never made a video for that.) Feel free to look at the code, it's in s4.grid

One advantage of doing it that way is that it can be lightweight and run dead fast. I wrote it because jit.cellblock couldn't keep up with what I wanted to do without too much CPU use.

Happy to answer more if you wind up going that route.

Hans Leeuw's icon

Thanks a lot, that seems promising. Thanks for your good work anyway.

I checked your videos, but I did not find a representation of how that would look like. It seems that you have a fixed column width for all columns, but I guess that if I get it to work at all I can find out how to fix that as well.

I don't need it to be too fast as my purpose is not real time but more for editing. Though I do program in C, I wouldn't consider myself a C-programmer... I'll probably have to look into the MAX SDK again. It would be a distraction from what I am actually busy with. I am curious though to see what more will pop up from people dealing with this issue.

Diemo Schwarz's icon

jweb with an html table?

Hans Leeuw's icon

Ah, Diemo, never saw that answer and I am revisiting the topic just now, that is actually a very good idea I hadn't considered yet and since I have to do some html anyway for other projects it can nicely fit in the flow.