Teammates: Instructor: edit rubric question: allow moving columns

Created on 8 Jul 2015  路  6Comments  路  Source: TEAMMATES/teammates

An instructor should be able to add a column and place it in between existing columns by dragging and dropping the column in the correct place. The new blank column is added to the right. Currently, the instructor has to cut and paste existing column contents to shift them to the right.

screen shot 2015-07-08 at 2 39 20 pm

a-UIX p.Medium

Most helpful comment

provide move left and move right buttons of each columns rather than dragging?

I was looking at various dragging libraries till now :stuck_out_tongue_closed_eyes: . If you don't even want to drag the columns and have buttons instead, then I can forget about those libraries and write my own JS to swap the contents on columns (or something similar to that) on button clicks. That way is much simpler for me to do things and write tests as well. :v: Should I proceed with this approach?

All 6 comments

Working on this.

Can I assume that the first column (one with option description) is not supposed to be draggable?

@damithc can probably weigh in on this better, but from what I understand, the first column should not be draggable, and only the columns with headers ("Strongly Agree", "Agree" etc. in the screenshot) should be draggable.

@damithc can probably weigh in on this better, but from what I understand, the first column should not be draggable, and only the columns with headers ("Strongly Agree", "Agree" etc. in the screenshot) should be draggable.

Yes, that's right. In fact, may be easier (especially when writing test cases) to provide move left and move right buttons of each columns rather than dragging?

provide move left and move right buttons of each columns rather than dragging?

I was looking at various dragging libraries till now :stuck_out_tongue_closed_eyes: . If you don't even want to drag the columns and have buttons instead, then I can forget about those libraries and write my own JS to swap the contents on columns (or something similar to that) on button clicks. That way is much simpler for me to do things and write tests as well. :v: Should I proceed with this approach?

Should I proceed with this approach?

Yes @VamsiSangam, go ahead.

Was this page helpful?
0 / 5 - 0 ratings