Happy New Year and a Dataview Update

 

Update!

I’ve updated Dataview to 1.17.0.4 (API2) and 1.16.2.3 (API1)

Changes include:

  • [New] Added DataView.ColumnDateFormat and ListColumn.DateFormat
  • [New] Added CellTextAt method for easier differentiation from cellValueAt
  • [All] Fix for display issues when hiding many rows
  • [All] Fix default formatting of integer and floating point cell values
  • [All] Fix for setting rowcount to less than current value
  • [All] Fix to some issues with threaded use (also affect piDogScrollingCanvas)

Grab the latest versions HERE.

As always, DataView and piDogScrollingCanvas are available as Encrypted or Source Code access (via the gitlab.com repo).

Dataview API2 is finally available!

Well, it’s taken a lot longer than I would have hoped, but it’s finally ready. Dataview API2 is here.

When I started working on an API2 version of Dataview, I expected it to be a few days worth of work, maybe a week at the most. It’s taken more effort than I could have imagined, but it’s here.

Due to the amount of added work in converting all of the internal code to API2 and getting the external API in line with the new API2 naming conventions, I’ve decided that the API1 version will be put into maintenance mode, meaning that 1.16.2.0(API1) will get critical bugs fixed, but no new features will be added in the future. 

The amount of added work trying to maintain 2 versions makes it unrealistic to think that it could be done effectively long-term.

1.17.0.1 (API2)

[New] removed remaining deprecated items
 
[All] Cell Editor no longer resizes with window
[All] Cell Editor again visible when scrolled under header
[All] Fixed issue where hiding all rows would cause scrolling as though none were hidden
[All] Fixed single pixel gap on the right edge of the view when bordered and no vertical scrollbar visible
[All] Fix various alignment issues with BackdropImage and OverlayImage
[All] ScrollingImage/BackdropImage/OverlayImage now render internally to a proper resolution for the display.
[All] CompareRows even now follows standard where 1=greater than -1=less than
 
[Mac] Fixed “ghost” cell editor
[Mac] Fixed font weight
 
[Win] Fixed borderwidth when UI scaling in effect
[Win] Fix for misalignment of rendering when scrolling area smaller than scroller bounds
 

1.17.0.0 (API2)

[New] Updated to API2 DesktopControl
[New] Removed all API2 deprecations
[New] Changed many items to new API2 style names (search “deprecated” in the demo project or see documentation in download for DataView)
[New] Added AutoDarkMode property to automatically convert colors to their dark mode equivalents when set
[New] SelectAll event allowing overriding default behavior

[Change] Select All menu now only selects visible rows
[Change] SelectedRows now returns visible(rowHidden=false) selected rows
[Change] SelectedCells now returns visible(row/column hidden=false) selected cells

[Demo] Database demo window now uses DataView.loadFromDB rather than a customized datasource.

[All] Improvements to gridline drawing
[All] Many internal scrolling fixes and improvements to reliability
[All] Column resizing now works properly again
[All] Fix miscalculated scrolling size when unhideAll is used
[All] Fixes for CellContainers including row dragging and inactive colors
[All] Fix missing show/hide button on group rows
[All] Fixed alignment of image for rows as dragItem

[Mac] Fix for failed column drag when vibrant header in use
[Mac] Fixes for Vibrancy view positioning behind dataview
[Mac] Now allows choosing vibrant material for header view

[Win] Fixes for datepicker cells not accepting keystrokes
[Win] Fix for incorrect cell edit alignment and tracking

[Linux] Headers no longer show in disabled state when control loses focus

 

1.16.2.0 (API1)

With this release going forward, new features will be added to the API2 version only.
Bug fixes will be added to this version (Classic) as possible/needed.

[Change] Select All menu now only selects visible rows
[Change] SelectedRows now returns visible(rowHidden=false) selected rows
[Change] SelectedCells now returns visible(row/column hidden=false) selected cells


[New] SelectAll event allowing overriding default behavior

[All] Improvements to gridline drawing
[All] Many internal scrolling fixes and improvements to reliability
[All] Column resizing now works properly again
[All] Fix miscalculated scrolling size when unhideAll is used
[All] Fixes for CellContainers including row dragging and inactive colors
[All] Fix missing show/hide button on group rows
[All] Fixed alignment of image for rows as dragItem

[Mac] Fix for failed column drag when vibrant header in use
[Mac] Fixes for Vibrancy view positioning behind dataview
[Mac] Now allows choosing vibrant material for header view

[Win] Fixes for datepicker cells not accepting keystrokes
[Win] Fix for incorrect cell edit alignment and tracking

[Linux] Headers no longer show in disabled state when control loses focus

DataView 1.16.0.6 Now Available

DataView and piDogScrollingCanvas API1

Mac/Windows/Linux
32bit 64bit ARM64

Size: 8.4 MB
Version: 1.16.2.3
Published: December 31, 2023

Minor update with a few fixes. This release should also play better with Xojo versions after 2019r2 especially where scrollbar setting had disappeared from the inspector.

1.16.0.6

[New] Now allows passing an array of variants to AddRow method

[Change] HeadingTextPaint now passes x and width byref to allow changing the location and size of text using built in rendering

[Bug] Fix for tabbing out of editableText Cell into CellContainerCell not keeping focus
[Bug] DatePicker now allows a full 1 second to type a date