Posted 2 March 2021, 2:51 am EST
Dear Team,
I have a question about the parameter of the IComponentBaseOption interface. I assume that this parameter should assign an ID to the HTML element. However, I can’t find this ID on the web page no matter what I write there.
I am trying to use it to assign an ID to the elements in a custom dialogue:
var testTemplate = {
title: dict.templ_T_Ti,
content: [
{
type: "ColumnSet",
children: [
{
type: "Column",
children: [
{
type: "TextEditor",
bindingPath: "firstColumn",
id: "teFirstCol"
}, {
type: "TextEditor",
bindingPath: "firstRow",
id: "teFirstRow"
}, {
type: "TextEditor",
bindingPath: "lastColumn",
id: "teLastCol"
}, {
type: "TextEditor",
bindingPath: "lastRow",
id: "teLastRow"
}]
}]
}]
}
GC.Spread.Sheets.Designer.registerTemplate("assignRange", testTemplate);
I want to assign the text editors(te) with their respective editor function as ID. (for example FirstCol)
But for the HTML Element it doesn’t do that.
I hope u can help.
Regards,
Maik
