DataGrid Checbox column issue

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi
Using v 1.3.36:
I have a grid with autogeneratedcolumns=false, i tried to show a datagridviewcheckbox control but no success. Other columns type cells display correctly. I set datasource in code/runtime (list)
I tried bool values and nullable bool? but no success, empty cell…
If i switch to textboxcolumn displays a string: True/False, but I’d like to display a checkboxcolumn
Thanks in advance!

  • You must to post comments
0
0

Hi Ser,

I can’t reproduce. Wisej generates CheckBox columns for bool, bool? and CheckState types. If you have a┬ácustom theme try to remove it and use one of the built in themes.┬áCheck also if the generated class is DataGridViewCheckBoxColumn and the issue is that you don’t get the checkbox icon. If the generated class is wrong, then the data source is not returning the correct type, or you already have a column with the same data member name.

Let me know.

/Luca

  • Ser Gar
    You’re right, i compare themes, and custom file theme has missing property: “paddingTop”: 26, Advice how to update custom theme to work with each wisej update. Custom theme was modified from blue1 theme with an older wisej theme builder (save as…), and I didn’t make changes to this missing porperty. From blue1 theme with older wisej theme builder, I only modified ajax loaders gifs and title windows colors. “components”: { “content”: { “states”: { “default”: { “styles”: { “fillColor”: “iconDark”, “backgroundSize”: “24px”, “backgroundImage”: “checkbox”, “backgroundPosition”: [ “center”, “center” ] }, “properties”: { “paddingTop”: 26, //<- adding this line works "paddingLeft": 26 } }, "checked": { "styles": { "backgroundImage": "checkbox-checked" }
  • Frank (ITG)
    Hi Ser, the best way IMHO is to use partial themes called mixins. That way you are safer from changes that we need to apply to the themes. Find more information here: http://wisej.com/docs/html/Themes.htm or let us know if you encounter any questions. Best regards Frank
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json