Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
Ultra grid column customization with checklistbox and drop down. and to make read only.
posted

I need to configure a table as shown in the above images. I need to attach events to the first , third and fourth columns.
I am able to do it for the Selected column using CellChange and using ColumnKey to match as you had mentioned. 
The Resources Column shows a checkList box attached to the DropDownEditor button.

Status column has a datatable assigned to an ultra dropdown. I have to add a column with blank title to add the datatable. But it still shows the header. When I tried to set column header to false , it did that for the top tables column header.

Another thing is I would like to make the Resource Column's text only readable or selectable from the CheckListBox. i.e the user must not be allowed to edit any entry of his own in the Resources column.

I am handling the text to be displayed when the user selects the check list box option and closes the drop down button.

I tried CellActivation Disabled for Column , but  it disbles the DropDownEditor button that displays the Checklist box with different users (first image).

I have made the Step column readonly by setting the readonly property of the datatable column (Step) to true. But if i do the same for the Resource column, it again doesn't display the drop down button for the check list box of users.




 Here is the code I have now trying to upgrade

:

http://pastie.org/private/ysypiujjk4m3wasf5hnhg

Any help I can do the above features in a less hacky way ? 

  • 12480
    Suggested Answer
    Offline posted

    Hi Prasaanth,

    It looks like you're trying to manually create the checked list in UltraDropDown. Instead, you can use the CheckedListSettings property to let UltraDropDown handle this automatically. Please see this thread for more information on how to implement this. When you implement UltraDropDown in this way, users will not be able to type into the cell; they will have to select from the dropdown.

    Please let me know if you have any further questions.