Comments (3)
You are using read("A1"), which is quite ok. But there is also an overloaded function ->
QVariant read(int row, int col);
you can do it his way:
for(int i=0; i < MAX_ROW; i++)
{
for(int j=0; j < MAX_COL; j++)
{
if(xlsx.read(i, j).toString == "test")
// got it
}
}
from qtxlsxwriter.
Hi, as luckyhacky said, you can use
QVariant read(int row, int col);
Just note that, the index row and col starts from 1 instead of 0, so
read("A1") <==> read(1,1)
read("A2") <==> read(2,1)
read("B1") <==> read(1,2)
from qtxlsxwriter.
Hello,
thanks a lot guys thats exactly what I need. Case closed :-)
from qtxlsxwriter.
Related Issues (20)
- How to write data in batches HOT 1
- 如何设置纸张方向的横向和纵向? HOT 1
- how to use CellRange with import and export together
- Save to pdf
- examples Chart::CT_Line
- How to setup Qtxlsxwriter
- Very good
- Building QtXlsxWriter with Qt using android kit HOT 1
- How to delete row or column
- Ask for a new release (0.3.1) with the LICENSE file HOT 4
- Unable to determine byte order HOT 2
- mingw32-make error HOT 1
- Save with protection On and password
- How put the color in chart with Xlsx
- Build in mingw32
- 这个库有一些bug
- why Workbook::copySheet always returns false ?
- 使用库后,VS报已在****.exe 中执行断点指令(__debugbreak()语句或类似调用)。
- 如何冻结sheet的前几行?
- Error when delete sheet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtxlsxwriter.