Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your first Excel report in 5 minutes - a TBEG quick start (Kotlin/Java)

In Part 1 , we explored what TBEG is. In this post, we'll write actual code and experience TBEG's core features hands-on. Step 1. Add Dependency // build.gradle.kts dependencies { implementation ( "io.github.jogakdal:tbeg:1.2.5" ) } Groovy / Maven: // build.gradle dependencies { implementation 'io.github.jogakdal:tbeg:1.2.5' } <!-- pom.xml --> <dependency> <groupId> io.github.jogakdal </groupId>…

Step 4. Advanced Template Features - Formatting In complex templates, you can control cell formatting directly within the Excel file. For example, to make the salary column show currency format, simply set the cell style to Currency in the Excel sheet. Then TBEG will preserve that formatting when generating the output. Step 5. Advanced Data Types - Working with Collections TBEG supports many collection types out of the box, such as lists, maps, sets, and arrays.

When using a collection in a repeat range, you can specify a starting cell range and TBEG will automatically fill in each row with the next element from the collection. Step 6. Integrating TBEG into Build Processes Incorporating TBEG into your development pipeline is straightforward. You can run TBEG as part of a Gradle or Maven build task, generating the Excel files automatically whenever your code changes. This ensures your reports stay in sync with your application logic.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

"Company Portal can't connect" / device not syncing — a 10-minute triage order for Intune admins

"Company Portal can't connect": a 10-minute triage order The ticket says "Company Portal can't connect" or "my laptop isn't getting the new policy." The tempting move is to start re-enrolling.

  • Company Portal not connecting, often resolved with Intune triage process
  • Check user scope, license, and MDM scope for Company Portal issues
  • Examine device status, MDM URL, and sync times to troubleshoot

Gomponents v1.4.0 Released: Performance Boosts and New Feature for Go HTML Component Library

Introduction Six years in the making, gomponents has solidified its place as a mature and efficient Go library for building HTML components without extra build steps.

  • Performance gains with memory usage optimization in gomponents v1.4.0
  • Computational overhead reduced through inlining and simplified control flow
  • Official coding agents skill introduced for enhanced developer workflows

More from Wednesday 7 October →