Jump to content


Photo

Datagrid now showing information correctly at all.


  • Please log in to reply
16 replies to this topic

#1 pka4916

pka4916
  • Members
  • 42 posts

Posted 27 May 2018 - 08:29 PM

Seems like the data grid is having issues.

When I highlight a row, and scroll down with the mouse wheel,  everything turns into a selected color.

When I highlight a row, and scroll down with the scrollbar,  the last row at the bottom keeps getting selected.  it doesn't stay on the record that is selected.  Same happens when i use the up scrollbar.

Text becomes unreadable when I use the mouse wheel or the scroll bars, 

 

When changing the parent color and change it back,  the grid doesn't change back to what it original was either.



#2 pka4916

pka4916
  • Members
  • 42 posts

Posted 27 May 2018 - 10:56 PM

Also, multi select for the Dbgrid is failing

 

CTRL select works  but SHIFT and select  then it throws an error

 

---------------------------
Debugger Exception Notification
---------------------------
Project  raised exception class EAssertionFailed with message 'Interface not supported in GetSelectable (\Next Grid\NxVirtualGrid6.pas, line 1129)'.
---------------------------
Break   Continue   Help   
---------------------------
 
 
function TNextVirtualGrid6.GetSelectable: INxSelectable;
begin
  Assert(Supports(CellSource, INxSelectable, Result), 'Interface not supported in GetSelectable');
end
 


#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 27 May 2018 - 11:10 PM

Hi,

Sorry for problems, I will fix them.

I will need few days to do it.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 pka4916

pka4916
  • Members
  • 42 posts

Posted 28 May 2018 - 12:37 AM

ok no problem.  Looking forward to the fixes :)

 

I guess it's not possible to attach a Database to the normal grid with a Data source.

Now I need to run a Select query and assign each item to a cell.



#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 28 May 2018 - 12:44 AM

Yes, you will need to do a loop and set field values manually.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 pka4916

pka4916
  • Members
  • 42 posts

Posted 03 June 2018 - 04:49 AM

Any update on the issues?



#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 03 June 2018 - 11:42 PM

Hi,

I have pushed first set for update, but still require work.

I hope that I will solve all next week.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#8 pka4916

pka4916
  • Members
  • 42 posts

Posted 12 July 2018 - 11:01 PM

Hi Boki,

we're you able to resolve all the issues?



#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 12 July 2018 - 11:23 PM

Hi,

I have resolved some of them, if you can please download last update.

I hope that it work much better since I rewrited on portion of code.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#10 pka4916

pka4916
  • Members
  • 42 posts

Posted 13 July 2018 - 12:10 AM

ok, I will redownload the May version



#11 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 July 2018 - 01:19 AM

Hi,

There is also new july version, please tell me if you don’t see it in users area.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#12 pka4916

pka4916
  • Members
  • 42 posts

Posted 13 July 2018 - 01:31 AM

I did see it.

 

Tried compiling it, but getting an error

 

[dcc32 Error] NxDBCells6.pas(190): E2291 Missing implementation of interface method INxParentRow.GetLastDescendant

 

  TNxRecordRow6 = class;

 

in dbgriddesign

 

and

 

[dcc32 Error] NxDBCells6.pas(190): E2291 Missing implementation of interface method INxParentRow.GetLastDescendant

 

in dbgridrun



#13 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 July 2018 - 01:54 AM

Hi,

My apology, I have just uploaded once again.

If you want, you can just add next method:

TNxRecordRow6 = class(TNxRecord, INxRow, INxRecord, INxRecordRow)
private
...
function GetLastDescendant: INxRow;
...

// and bellow inside implementation

function TNxRecordRow6.GetLastDescendant: INxRow;
begin
Result := nil;
end;


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#14 pka4916

pka4916
  • Members
  • 42 posts

Posted 13 July 2018 - 02:53 AM

Thanks, it installed now.

But the bug/glitch is still there.

 

if you high light a row then 2 things are happening now

 

1.  when you highlight a row in the middle and you use the MOUSE to scroll,  that rows stays highlighted but also all the new ones that are showing will be highlighted

2. when you highlight a row in the middle  and you use the scroll bars on the side,  the highlighted one becomes always the last one at the bottom of the viewer



#15 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 July 2018 - 12:47 PM

Hi,

I think I understand it now. I will work now on it.

Can you tell me if multi-select work better now?
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#16 pka4916

pka4916
  • Members
  • 42 posts

Posted 13 July 2018 - 04:37 PM

That's funny.

 

The multi select works great now.

When Multi select is checked and None of the issues are there from the post above.

When I uncheck multi select, then those 2 issues are back



#17 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 July 2018 - 04:39 PM

Hi,

This is a good clue. I hope that I will fix it easily.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users