We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! 👋
Firstly, thanks for your work on this project! 🙂
In my opinion the types I'm using seem to be working. I'm not sure about the id. Afaik it can be a string too.
label is defined in the README but missing in the interface. height works fine without providing it. So I will assume it's optional.
Aliyss
Here is the diff that solved my problem:
diff --git a/node_modules/svelte-gantt/types/core/row.d.ts b/node_modules/svelte-gantt/types/core/row.d.ts index a2469e2..5e65ca3 100644 --- a/node_modules/svelte-gantt/types/core/row.d.ts +++ b/node_modules/svelte-gantt/types/core/row.d.ts @@ -1,9 +1,10 @@ export interface RowModel { - id: number; + id: number | string; + label: string; classes?: string | string[]; contentHtml?: string; enableDragging?: boolean; - height: number; + height?: number; /** Child rows in expandable tree */ children?: RowModel[]; /** Content of row header, html string */
The text was updated successfully, but these errors were encountered:
Basically your issue is a pull request ? 😄 I'll look into it and integrate it asap
Sorry, something went wrong.
83a36d1
Merge pull request #81 from V-Py/new_branch
41215ac
fix #77 RowModel interface adjustements
No branches or pull requests
Hi! 👋
Firstly, thanks for your work on this project! 🙂
In my opinion the types I'm using seem to be working.
I'm not sure about the id. Afaik it can be a string too.
label is defined in the README but missing in the interface.
height works fine without providing it. So I will assume it's optional.
Aliyss
Here is the diff that solved my problem:
The text was updated successfully, but these errors were encountered: