@everchron/ec-shards 5.0.65 → 5.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ec-shards.common.js +32 -30
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +32 -30
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +1 -1
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/data-grid/data-grid-head-cell.vue +5 -3
package/package.json
CHANGED
|
@@ -211,12 +211,14 @@
|
|
|
211
211
|
cell.style.width = `${ currentColumnWidth }px`
|
|
212
212
|
})
|
|
213
213
|
|
|
214
|
-
let headName = this.
|
|
214
|
+
let headName = this.computedId.toLowerCase().replace(' ', '-')
|
|
215
|
+
debugger
|
|
215
216
|
const lastIndex = headName.lastIndexOf('-')
|
|
216
217
|
headName = headName.substring(0, lastIndex)
|
|
217
|
-
console.log('headName', '[data-headname=
|
|
218
|
+
console.log('headName', '[data-headname=' + headName + '-column-head]')
|
|
219
|
+
console.log('computedId', this.computedId)
|
|
218
220
|
let columnHeads = document.querySelectorAll('[data-headname="documents-' + headName + '-column-head"]')
|
|
219
|
-
console.log('columnHeads')
|
|
221
|
+
console.log('columnHeads', columnHeads)
|
|
220
222
|
columnHeads.forEach(cell => {
|
|
221
223
|
// if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
|
|
222
224
|
// cell.parentElement.__vue__.setWidth(currentColumnWidth)
|