Xojo DataGrid by BasicApp

Hi guys,
just to let you know about a new Xojo DataGrid component by BasicApp.

This is the link:
https://basicapp.net/xojo-data-grid/

This is the online guide:
https://basicapp.net/xojo-data-grid-guide/

Some features:

  • This component is NOT a subclass of ListBox, but has been completely rewritten to have fast and stable data loading.
  • This component is NOT a ContainerControl that contains other components for simulate the grid, but is a SINGLE component that rewrites the entire grid editable.
  • You will have ONLY ONE component to drag into your project.
  • The DataSource is type Database, therefore compatible with: SQLite, MySQL, PostgreSQL, MS SQL, ODBC, and all Xojo Database subclasses.
  • You can query the database and the component will display the data in a few cents of a second. If the database is not local but remote, the speed will also depend on the connection.
  • You can set the data types for each column, such as: Text, Number, Currency, CheckBox, List, Date, Link, ProgressBar, Color, etc
  • You can change the width and alignment of the columns.
  • You can sort the data by clicking on a column (ASC/DESC). By holding down the CTRL key (or COMMAND for macOS) you can add columns to the sort as first, second, third column, etc.
  • You can edit the content of the cells with a double click and the data will be updated directly on the database.
  • You can delete rows in the database, or just in grid view (leaving the data intact in the database).
  • You can add rows by key value or by Json string.
  • You can choose which columns are editable and which are not.
  • You can move columns or hide them.
  • You have a settings screen to manage the grid after startup.
  • You can save the settings of the columns and the grid, and restore them.
  • There is an event that allows you to decide if the modified cell value is valid or not.
  • There is an event that allows you to redesign the cell to your liking. This allows you to customize it as you wish, without limits.
  • You can select rows, multiple rows at the same time.
  • You can drag row (or rows) to another control with Drag and Drop.
  • You can choose all the colors of the grid, from the background to the borders, from the header to the cells, from the selection to the cell focus.
  • You can change the font of the cells, font name, size, bold, underline, etc.
  • And much more…

Some screenshot:

I hope the component is useful for your projects.
For any request, bug report, feature addition request, write me please.

Thanks!

15 Likes

The main differences between the licenses are:

  • the Single License can be used by 1 developer only, and has 1 year of free updates.
  • the Multi License can be used by 10 developers, and has 3 years of free updates.
  • the Enterprise License can be used by unlimited developers, and has 5 years of free updates.

Once the free updates period has expired, you can decide whether to continue using the component in that version, or whether to purchase update packages.

Prices for updates are typically one-third of the price of new licenses.

2 Likes

What is the cost of single user license as its not mentioned in your portal

you also don’t mention if a buyer gets the source code unencrypted or not.

Single License

  • 1 Developer
  • 1 Years Updates
  • 129 €

Multi License

  • 5 Developers
  • 3 Years Updates
  • 229 €

Enterprise License

  • Unlimited Developers
  • 5 Years Updates
  • 349 €

No Source Code, the license is just for use encrypted component.

1 Like

Beautiful component, works nicely. Does it require a dataset, you can not manually feed the rows / columns?

I would never buy anything without source code.

At first glance the component isn’t very macOS like and the text is not HiDPI.

Wait, what? Are you not an enthusiastic MBS user? :slight_smile:

5 Likes

Is this for desktop only?
Tim

Looks like you demand a “table” instead of query. Do that work with queries?

Typo: Head → Header

FR: Footer

FR: Footer ability to merge cells

FR: Freezing top n rows

FR: Freezing left n columns

I’m an enthusiastic supporter of using the code of others so that I can develop faster. TVListbox from the MBS plugin, pidog Datagrid or Sam’s listbox subclass all have problems and limitations. Therefore, I’m still looking for an alternative.

2 Likes

Thank you @Gabriele_Marchionni, you have obviously put a lot of work into this, we appreciate the effort.

At least one important feature appears to be missing, is horizontal scrolling via a Trackpad or Shift+Scrollwheel.

Maybe I missed a setting or something. But when I tried swiping left or right with two fingers on a Trackpad, or hold down the Shift key while using a mouse scrollwheel - the grid did not move side-to-side. Using a mouse on the scrollbar works, but not other gestures.

macOS 14.7.1, Xojo 2024.3.1.

Thank you.

For now it works with dataset (it’s a DataGrid). We are designing a component with the same functionality but free from dataset where rows and columns are inserted manually.

2 Likes

Yes for Desktop only. What do you need it for, mobile or web?

It works with a query.
You can use a query with multiple tables in join. However, in edit the program can only use one table. So it is important to set the DbTableName and DbKeyFieldName properties so that the component knows which table to edit.

1 Like

Yes we worked on it a lot.
No, you didn’t miss anything. We probably missed it. I’ll fix it right away.
Thanks for reporting.

Thanks for the suggestion.
I’ll see what I can do.
Thanks

1 Like

This is where graffitisuite shines.

I expect a modern scrollbar which hides automatically and has that odd springy thing. I want the selection color to be used for selecting rows. And lastly I want the selection to be an inset one.

Neither the Graffiti listbox nor the grid have a single one of these modern listbox features.

1 Like

Well i meant by the “source code”

2 Likes