NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on December 18, 2012, 03:46:35 AM

Title: Problem with Contract/Expand Row
Post by: Matthew on December 18, 2012, 03:46:35 AM
Hello

Description:
1. I have three NetWebBrowse procedure on one memory form.
2. Each Browse has column with Contract/Expand row (default button).
3. Each row has ContextMenu (some links) which can be seen after expand row.

Problem:
At the beginning each row is contracted.

If some browse has navigation buttons (for example first browse) and I click on the next browser page then all the rows in other browses are expanding.

Questions:
1. Why is that?
2. Is this a bug?
3. How can I prevent before such behaviour (all rows will be still contracted)?

Attachment:
I attache example app.

Regards,
Matthew

[attachment deleted by admin]
Title: Re: Problem with Contract/Expand Row
Post by: Bruce on December 18, 2012, 05:56:17 AM
Hi Matt,

thanks for the example.

1). Because a line in jquery.nt-browse.js reads
$('[data-nt-ctd="true"]').each(function(i,elem){
when it should read
$(this.options.divId).find('[data-nt-ctd="true"]').each(function(i,elem){
(hey - you asked :) )

2). yes

3). It's been updated for the next build. (NT6 and NT7 - you didn't mention which one you were using.)

Cheers
Bruce

Title: Re: Problem with Contract/Expand Row
Post by: Matthew on January 23, 2013, 12:40:56 AM
I have NT6 and NT7 and this problem is on both versions of NetTalk.

So I will be waiting for the next build.

Regards,
Matthew
Title: Re: Problem with Contract/Expand Row
Post by: Matthew on February 08, 2013, 12:56:20 AM
Hello Bruce

This problem which I described still exists.

When can You fix it?

Regards,
Matthew
Title: Re: Problem with Contract/Expand Row
Post by: Bruce on February 12, 2013, 02:36:35 AM
Hi Matt,

I re-downloaded your example app, and tried it in NT 7.05. It seems to work ok - the rows are not expanding when I click on Next.

which build are you testing with? Are you still getting the effect that it expands when you click on Next?

cheers
Bruce