@boykomarkov22gmail-com
@boykomarkov22gmail-com
Forum Replies Created
-
AuthorPosts
-
Markov
KeymasterHi aza21,
Thank you for the feedback! We cannot offer a solution for this scenario. We will need to resolve it in our code.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi Shubham,
Please, refer to https://www.htmlelements.com/demos/gantt/export/. PDF export is demonstrated there.
Best regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi Shubham,
These files should be added as they are used in the data export process:
` <script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js”></script>
<script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.38/pdfmake.min.js”></script>
<script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.38/vfs_fonts.js”></script>`Best Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi Varshitha,
Yes, you can define CSS classes and put additional styles to them. I would suggest you to extend instead of override, because when you override you can break the component’s layout.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi,
The ‘dateStart’ property determines the start date of the view.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi,
You can use the timelineHeaderFormatFunction(date, headerType, isSubHeader, dateString) and return the result to be displayed in that header.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi,
We usually add the bug fixes & new features only in the new versions.
Best Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi Zhang,
These are not resizable. They are all with one size as they represent dates.
Regards,
MarkovSmart UI team
https://www.htmlelements.com/Markov
KeymasterHi Zhang,
See https://codepen.io/jqwidgets/pen/KKYXKox. Column resize is enabled and you can resize the task columns.
Regards,
MarkovSmart UI team
https://www.htmlelements.com/Markov
KeymasterHi,
In your code, you create a dataAdapter correctly, then you replace it with an Array i.e you remove the dataAdapter.
If you want to use dataAdapter, use it everywhere. If you want to bind to an Array, define the dataSourceSettings object and define the dataFields in it.Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi,
The problem here is that the dataSourceSettings property is not set. It should be set and the dataFields in it should be set as well. The dataFields describe the types of the columns. Alternatively, you can use the dataAdapter, too.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi Srinivas,
You can prepare a new dataSource and set it to the Gantt chart. By doing that, you can instead multiple tasks at once.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/Markov
KeymasterHi,
The only issue here is that since the dataFields are defined in dataAdapter and when you use Array instead of DataAdapter, the data is repsesented as Strings instead of the actual data types. This can be easility solved by using the “dataSourceSettings” proeperty which you can use to define your dataFields and data types.
Regards,
MarkovMarkov
KeymasterHi,
You need to set the dataSource property to a new value. Using dataAdapter is not mandatory. You can bind it to an array.
Regards,
MarkovMarkov
KeymasterHi Matias,
I updated the sample: https://stackblitz.com/edit/github-dcz87q-zfeczm?file=package.json,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html
Now when the properties are set in the template, all is ok. The problem with the other approach is that when you set properties one after another dynamically, it happens that you apply columns with sorting before the sorting is enabled so after all data sort is not applied to the Grid.Regards,
Markov -
AuthorPosts