Replace Semicolon with other customized separator to enter or display value in Predecessor column

Support for v6.x of our Scheduling components
User avatar
viragjain
Posts: 41
Joined: Thu Apr 25, 2019 9:06 am

Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by viragjain » Mon Apr 29, 2019 9:01 am

Hi Team,

I am facing an issue to update or override the separator given by Predecessor column as ';' (semicolon). Tried by placing separator: ',' (comma) but its only helping in display of value in Predecessor column. But not able to update value by using comma in Predecessor column, as its only accepts semicolon to process the data. Need a quick help to fix it or override the entry of data by using customized separator.

User avatar
viragjain
Posts: 41
Joined: Thu Apr 25, 2019 9:06 am

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by viragjain » Thu May 02, 2019 7:31 am

Thank you. Waiting for its solution asap.

User avatar
priya.yadav
Posts: 39
Joined: Tue Mar 26, 2019 12:31 pm

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by priya.yadav » Wed May 15, 2019 5:05 pm

Hi,

By when can we expect this fuctionality?

User avatar
mats
Core Developer
Core Developer
Posts: 14369
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by mats » Wed May 15, 2019 5:39 pm

Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
viragjain
Posts: 41
Joined: Thu Apr 25, 2019 9:06 am

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by viragjain » Fri May 24, 2019 12:27 pm

Hi @mats, Is the above feature now available? as new Release came on 17 May

User avatar
mats
Core Developer
Core Developer
Posts: 14369
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by mats » Fri May 24, 2019 12:28 pm

No release of Ext Gantt was made May 17. Please see our change log here: https://www.bryntum.com/products/gantt-for-extjs/changelog/
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 14369
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by mats » Fri May 24, 2019 12:29 pm

(it's available in nightly builds though)
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
priya.yadav
Posts: 39
Joined: Tue Mar 26, 2019 12:31 pm

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by priya.yadav » Wed Aug 14, 2019 12:53 pm

Hi team,

We have uptaken the nightly build. After defining comma as a separator, I am not able to enter multiple values in the predecessors column for the first time using comma.
Once I entered multiple dependencies using a semicolon, later I was able to enter dependencies using comma also for the same task.

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 2204
Joined: Fri Apr 01, 2016 11:08 am

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by pmiklashevich » Thu Aug 15, 2019 10:47 am

I can't reproduce your issue locally. Please try to change Advanced demo (http://lh/ExtGantt6.x/examples/advanced/#en)

examples/advanced/app/view/Gantt.js:183:

Code: Select all

        {
            xtype : 'sequencecolumn'
        },
        {
            xtype             : 'predecessorcolumn',
            separator         : ',',
            useSequenceNumber : true
        },
Go to the browser, dblclick predecessor column at line 5 and type in "3,4" and Enter. Please see predecessors are set.
2019-08-15_1144.png
2019-08-15_1144.png (55.34 KiB) Viewed 47 times
P.S. I used sequence numbers just to have better visual understanding of what is going on, but it worked with IDs either.
Pavel Miklashevich - Core Developer

User avatar
priya.yadav
Posts: 39
Joined: Tue Mar 26, 2019 12:31 pm

Re: Replace Semicolon with other customized separator to enter or display value in Predecessor column

Post by priya.yadav » Fri Aug 16, 2019 8:17 am

I have found a solution. In dependencyParcer.js, regex is hardcoded to "/\s*;\s*/" . When I am changing it to "/\s*,\s*/" It is working fine.
But shouldn't it work only by changing separator property in predecessor/successor column?

Post Reply