How to add Buttons column to ASPxTreeList, (like "new" or "Edit" column), can someone help me start up?
Introduce the TreeListCommandColumn with the required Command Buttons to accomplish this task.
Related
Is it possible to add more than 1 button into a cell (Table view)?
E.g. to make Actions column with three different buttons for the needed actions.
I know that IsButton lets to put a button into a cell, but how about a few ones?
Thank you!
I have already implemented a subtable functionality in a QTableWidget. That is, if you click a row that contain a Left Arrow icon, a new row will be added and in there another instance of QTableWidget will be attached using setCellWidget.
All is working fine.. until I need to sort the table in an interval bases: this row that contain subtable, should be kinda sticky to its parent row. But, the sort method made them separate. I browse again the documentation, and I found this : QAbstractItemView#setIndexWidget. I am not sure how to implement this, but it seems like it will make the subtable attached to this row, without the need to add a new row.
Have you face this kind of issue before? Would love to know how you solve it
UPDATE
I think the proper way is indeed to use QAbstractItemView.setIndexWidget: it'll keep the data / model untouched so the rows can be properly sorted. We just have to properly display a new widget that don't override the current data appearance
I am trying to add a new row to the ASPxGridView in the inline mode. What I want is, when I click the 'New' button I want the new row that I am going to add, to have the focus, that is, the row should be highlighted. How can I accomplish this?
I have tried ASPxGridView1.FocusedRowIndex = -1; inside the InitNewRow event, but it doesn't highlight the row.
Any suggestions?
This links might guide you :
http://www.devexpress.com/Support/Center/p/Q260744.aspx
http://www.devexpress.com/Support/Center/p/Q259550.aspx
http://www.devexpress.com/Support/Center/Question/Details/Q356961
I have a datagrid object and the users requested to be able to select any columns and hide them.
I guess I have to loop through the columns and check if they are selected(?) but I can't find a way to do this.
Could someone give me a tip in this?
I feel like creating excel in vb6, so if it's possible to make excel to use oracle datatable as it's source, I'm up for that too :)
Thanks in advance.
The DataGrid has a HeadClick event you could easily use for this. It provides the colindex of the clicked column.
You could combine this with a CheckBox having its Style = vbButtonGraphical to make a "hide clicked columns" push-on-push-off button or something if you want a clicked column heading to have multiple meanings.
I have two datagrid components and I would like to drag one column from one component to the other. I have been trying several methods but I couldnt acomplish that.
Can anybody help me with this?
What you want to do is to disable a column on the first datagrid and enable it on the second. You have to listen to DRAG_START events, find what field is the target column, and hide it on the first datagrid when the drag succeeds. Then you use a symetrical approach for the second datagrid...
I guess you will have to create a custom drag proxy visual component if you want it to be visually coherent.
Good luck =)