NetTalk Central

Author Topic: No Selection Bar on MULTI-ROW Browse!  (Read 8863 times)

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
No Selection Bar on MULTI-ROW Browse!
« on: September 23, 2011, 01:00:07 AM »
Hi,

(Using NT 5.36 with the 5.34 web folder because of the "lookup bug".)

I have a NetWebBrowse with 2 rows of data, for example:

row1: CustomerID | CustomerName
row2: CustomerAddress

In the settings of the field "CustomerName" I have set "Last On Line" to ON.

Now when the browse is shown, I see 2 rows of data, so that's ok.
But the grey selection bar on the first record is gone.

After that I select a record, so then I see the 2 rows are becoming grey (selected).
I press Change to change the record and when I press Save, I come back in the browse.
But again, no grey selection bar on the record I have just changed!

The template generates this code:
Code: [Select]
  Loc:Selected = Choose(p_web.IfExistsValue('CUS:CusID'),p_web.GetValue('CUS:CusID'),p_web.GetSessionValue('CUS:CusID'))
When I check the value of Loc:Selected, it contains the correct CusID.
But no selection bar on the record in the browse!

When I set "Last On Line" to OFF, so I have 1 row with data, then THERE IS a grey selection bar on the record that I have last changed, so that is ok.

Question is: Why isn't this working on MULTI-ROW browses?  ???

Is there a problem in netweb.js?
I see something with data-nt-rows, data-nt-value and data-nt-id.

Who can help me with this please?
It's very annoying not to have a grey selection bar when you return from the form to the browse.

Best regards
Jeffrey

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #1 on: September 23, 2011, 02:18:02 AM »
Hi Jeffrey,

Bruce has uploaded 5.37.

Download and see if it fixes your problem.
It fixed the lookup problem.

Regards

Johan de Klerk
Clarion 10, NT 11.57

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #2 on: September 23, 2011, 02:56:05 AM »
Hi Johan,

Thanks, 5.37 solves my other problems, mentioned in the other threads.
But 5.37 does not solve this MULTI-ROW problem.

Best regards
Jeffrey

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #3 on: September 25, 2011, 03:20:31 AM »
Anyone who can help me with this, please?

Best regards
Jeffrey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #4 on: September 25, 2011, 07:57:56 PM »
I'm at devcon this week Jeffrey, so chances are I can only look into it next week when I'm back in the office.

cheers
Bruce

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #5 on: October 06, 2011, 09:52:27 PM »
I'm at devcon this week Jeffrey, so chances are I can only look into it next week when I'm back in the office.

cheers
Bruce

Hi Bruce,

Any solution for this?
It's very annoying and my customers would like to have a selection bar on my MULTI-ROW browse.

Best regards
Jeffrey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #6 on: October 07, 2011, 06:05:15 AM »
Hi Jeffrey,

can you duplicate in the Multi-Row example (50) - I've tried, but it seems to be working.
If you can't duplicate there I guess I need an example...

Cheers
Bruce

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #7 on: October 07, 2011, 06:39:37 AM »
Hi Jeffrey,

can you duplicate in the Multi-Row example (50) - I've tried, but it seems to be working.
If you can't duplicate there I guess I need an example...

Cheers
Bruce

Hi Bruce,

I have tried example 50 and have discovered the following:
1. I get the "greenbar" effect. = ok
2. When I click on a record, I see the row of the record becomes grey (option "Highlight selected" = ON in template). = ok
3. BUT when I Change or Insert a record and I press Save in the Form, after that, when returning in the browse, the record (multi-row) in the browse has "lost" the dark grey "selected" color.

I hope it's now clear for you what my problem is.
The issue I mention at point 3 is als happening in my real application.
When I have ONE single row, then no problem.

Best regards
Jeffrey

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #8 on: October 11, 2011, 10:14:20 AM »
Hi Bruce,

Any news about this?

Best regards
Jeffrey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #9 on: October 12, 2011, 02:48:12 AM »
fixed in 5.38

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #10 on: October 12, 2011, 02:54:49 AM »
That's very good news, Bruce!

Thanks a lot!

Best regards
Jeffrey

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #11 on: October 14, 2011, 05:23:06 AM »
fixed in 5.38

Hi Bruce,

I have installed 5.38 and use the latest web folder.
Your example 50 is working ok now: this is a NetWebBrowse with multi-row.

But my realtime app still does not show the select bar (automatically) on my multi-row browse.
But in my case I have a NetWebForm with entry fields on it and a NetWebBrowse control.
Does that perhaps ring a bell?

Best regards
Jeffrey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #12 on: October 15, 2011, 05:40:50 AM »
I guess I need an example Jeffrey...

cheers
Bruce

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #13 on: October 15, 2011, 06:32:54 AM »
Hi Bruce,

I'll see what I can do.

At this moment some strange things happen on my iPad(2)s which I have upgraded to iOS 5.0.
Also some of my customers are reporting issues on their upgraded iPads (iOS 5.0) with my NetTalk app.
Under iOS 4.3.3 none of those issues at all.
And more and more of my customers are upgrading their iPad right now to iOS 5.0.
I will post this under a new forum thread.

Best regards
Jeffrey

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: No Selection Bar on MULTI-ROW Browse!
« Reply #14 on: November 01, 2011, 11:17:37 PM »
Hi Bruce,

Version 5.39 has solved my issue!
I now get a nice selection bar on my multi-row browse.

Thanks!

Best regards
Jeffrey