It's been a long time since I've worked with the scriptTable, but when I did I had no problems receiving callback for all cells. As I recall, a callback, specifiec by the cellChangedCmd argument, had to be assigned for each cell. Could it be that you have assigned to the last row and column due to a loop scoping issue?
At any rate, as I mentioned, I've not used this ui for years, and that's for good reason: it's awkward and limiting. If you can use an alternate I would highly recommend it. The Qt options are good, and nearly limitless in flexibility, though you will incur a more significant startup cost. If you don't need to edit multiple cells at once, you may consider using standard Maya ui elements and laying them out yourself procedurally, dependent upon selection, or whatever your input method is for determining what the ui should reflected. -Judah On Tue, May 22, 2012 at 3:19 AM, ogre <[email protected]> wrote: > > > On 22 Maj, 02:04, Justin Israel <[email protected]> wrote: > > I don't see any straightforward way that they expect you to be able to > > receive the callbacks for the table if you create them with that plugin > via > > the API. I could be missing something since I have never used that > approach > > to make interfaces before. Your best bet, if you are trying to avoid the > > dependency of Qt/PyQt, is to just use a scriptTable: > http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPytho... > > That apparently wraps around the API-based table, but also gives you a > > cellChangedCmd callback so you can handle edits. > > > > Thanks Justin, > I did some testing with scriptTable, and it seems only last column is > editable, or am I doing smth. really wrong ? > Anyway, maya is highlighting entire row, and enters data only in last > cell :/ > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
