No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. coco_jambo
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    coco_jambo

    @coco_jambo

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    coco_jambo Follow

    Latest posts made by coco_jambo

    • How to set width and height to text fields inside table

      Is there any way that I can set height of text fields inside table?
      I added dense to table and fields as well, but it’s still too big.

      Thanks in advance.

      ![alt text](Screenshot_1.png image url)

      here is my code:

      <q-table
      	      	title="Investicije i dinamika ulaganja"
      	      	:data="myrecords"
      	      	:columns="columns"
      	      	row-key="name"
          	  	dense
      	      	hide-bottom
      	      	hide-header
      	      	separator="cell"
      		    virtual-scroll
      	        :pagination.sync="pagination"
      	        :rows-per-page-options="[0]"
              >
        		<template v-slot:body="props">
                <q-tr :props="props">
                	<q-td v-for="(col,index) in props.cols" :key="col.name" :props="props" >
                		<q-input
            		      	v-model.number="model"
            		      	type="text"
            		      	:dense="hasData"
            		      	filled
            		      	style="max-width: 200px"
            		      	v-if="index > 0"
            		    />
            		    <span v-else>{{ props.row.name }}</span>
                	</q-td>
                </q-tr>
              </template>
      
      posted in Framework
      C
      coco_jambo