Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue3 how to dynamically set colNum and rowHeight? #62

Open
strongQ opened this issue Jan 11, 2024 · 0 comments
Open

vue3 how to dynamically set colNum and rowHeight? #62

strongQ opened this issue Jan 11, 2024 · 0 comments

Comments

@strongQ
Copy link

strongQ commented Jan 11, 2024

dynamically set property not work,only can set static。how to do ?

 <smart-widget-grid @layout-before-mount="gridMount"   :colNum="colNum" :rowHeight="rowHeight"  :layout="tags"  draggable="true" @dragover="onEnd" @dragenter="onEnter">
</>


// ts

query=>{
  rowHeight.value=res.data.result.rowHeight;
  colNum.value=res.data.result.colNum;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant