Comments (10)
Same for me. I am using version 17.0.
Thanks @thewilli even if this is a bit ugly it's work.
EDIT :
After some investigation I have found in the doc that putting suppressPropertyNamesCheck
remove all warning messages.
From the doc :
this.gridOptions = { ... deltaRowDataMode : true, suppressPropertyNamesCheck : true, ... };
from ag-grid-vue-example.
I have the same problem in a web bundled with webpack.
this solved it temporarily for me:
// put this in any .js file that gets loaded before ag-grid is used
import { PropertyKeys } from "ag-grid/dist/lib/propertyKeys";
import { ColDefUtil } from "ag-grid/dist/lib/components/colDefUtil";
// fix wrong property warning
PropertyKeys.ALL_PROPERTIES.push("__ob__");
ColDefUtil.ALL_PROPERTIES.push("__ob__");
from ag-grid-vue-example.
if you just want the warning removed you can use the supporessPropertyNamesCheck property
this.gridOptions = {
...
suppressPropertyNamesCheck: true
};
from ag-grid-vue-example.
Same for every colDef:
ag-grid: invalid colDef property '__ob__' did you mean any of these: valueGetter,children,allowedAggFuncs,menuTabs,pivotTotalColumnIds,cellClassRules,icons,headerGroupComponent
from ag-grid-vue-example.
I have this too.
Decided to ignore it.
As far as I can tell Vue adds that , and removing it just adds overhead. It's not colliding with any similarly named property, ie seems harmless.
from ag-grid-vue-example.
@thewilli thanks, works for me!
from ag-grid-vue-example.
In a recent release these warnings (for ob) were suppressed. Please upgrade and see if this resolves the problem.
thanks
from ag-grid-vue-example.
Hi! I set the suppressPropertyNamesCheck
on my gridOptions
, but don't work.
from ag-grid-vue-example.
This caused my problem:
<div style="width: 1000px; height: 500px;">
<ag-grid-angular
class="ag-theme-material"
#gridOptionsRight
[frameworkComponents]="frameworkComponents"
[columnDefs]="columnDefs"
[gridOptions]="gridOptionsRight"
(selectionChanged)="onRightSelectionChanged($event)"
(gridReady)="onRightGridReady($event)">
</ag-grid-angular>
</div>
The solution was to remove the #gridOptionsRight
<div style="width: 1000px; height: 500px;">
<ag-grid-angular
class="ag-theme-material"
[frameworkComponents]="frameworkComponents"
[columnDefs]="columnDefs"
[gridOptions]="gridOptionsRight"
(selectionChanged)="onRightSelectionChanged($event)"
(gridReady)="onRightGridReady($event)">
</ag-grid-angular>
</div>
from ag-grid-vue-example.
I actually intentionally added to the colDefs (and have update methods that modify the property I added to the columndefs and updates gridColumnDefs) because I wanted access to a property in my columnMenuTab and it seemed to be a great way to handle it (vs. having something external in my ts code). Ends up being used like:
checked: params.column.userProvidedColDef.sortBy === 'valueToSortBy'
from ag-grid-vue-example.
Related Issues (20)
- Is it possible to fit two components in a single columns? HOT 1
- Using i18n in column Header HOT 9
- How to use `rowDrag`? HOT 2
- headerComponent does not works for ag-grid-vue HOT 10
- cellRender with Vue Component? HOT 15
- Unable to get DateComponent Working HOT 1
- Auto Height - hiding filter HOT 1
- Ag-grid in tabs
- npm run test does not work HOT 3
- Erro compile
- How can program this with Laravel
- Server side pagination needed!! HOT 2
- Running the test fails
- question: how do I setup ag-grid-vue community on html global HOT 1
- Npm install fails HOT 1
- server side pagination
- Unable to render a component in editing mode
- why weren't NumericEditorComponent in a .vue file but a .js file? HOT 1
- Example with Infinite Scroll? HOT 2
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 ag-grid-vue-example.