BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
<ej-grid id="Grid" [dataSource]="activityTypes" [allowSorting]="true" [allowFiltering]="true"
[editSettings]="{'allowEditing':'true', 'editMode':'batch'}" [allowPaging]="true">
<e-columns>
<e-column field="id" [isPrimaryKey]="true"></e-column>
<e-column field="name" headerText="Название" ></e-column>
<e-column field="status" [editType]="CheckBox" headerText="Статус"></e-column>
</e-columns>
</ej-grid>
I want the status field in edit mode to be a checkbox. EditType property seem to be doing that. However, whenever I click the cell (activate edit mode) I can see only the textbox with "false" or "true" written.
It would also be nice, if the inner checkbox, that's used for editing would've been identical to the outer 'view' checkbox.
Queries |
Response | |
“Could you please reference the values for the editType property?[editType]="boolean" doesnt seem to work.”
|
In this if you need an checkbox while editing the cell, mention editType as “booleanedit” in the particular column.
Find the code example:
Refer to the Help document.
| |
“It seems that there's a problem with dropdowns and boolean types”
|
In our sample when we used ForeignKey column the text values is shown in dropdown when the cell in editMode. So, we unable to reproduce the mentioned issue at our end.
To find out the root cause we need the following details
1. Ensure that ForeignKey dataSource is bounded to the particular column.
2. Do you face any script error in console when you edit the particular cell? If yes, share the screenshot and stackrace of an issue.
3. When the cell in editMode, are you expecting to display boolean value(true or false) in the textbox and in dropdown?
4. Essential Studio Version details.
Find the code example, screenshot and sample:
Screenshot:
If we misunderstood your query, please get back to us.
|