NetTalk Central

Author Topic: Problem with Contract/Expand Row  (Read 3908 times)

Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Problem with Contract/Expand Row
« 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]
« Last Edit: December 18, 2012, 03:48:31 AM by Matthew »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Problem with Contract/Expand Row
« Reply #1 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


Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Re: Problem with Contract/Expand Row
« Reply #2 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

Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Re: Problem with Contract/Expand Row
« Reply #3 on: February 08, 2013, 12:56:20 AM »
Hello Bruce

This problem which I described still exists.

When can You fix it?

Regards,
Matthew

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Problem with Contract/Expand Row
« Reply #4 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