I have 15 syncfussion control inside <div> tag.
I have placed 3 control in each row using (div class="col-xs-4 col-sm-4 col-lg-4 col-md-4").
It works fine as per our requirement.I would like to know how to use 3 control in each row without using
(<div lass="row">)
That means.it should automatically create new row when three control is added (as per bootstrap we can create 12 columns in each row.).
Please check my below code and advise how to do this.
<table class="table">
<tr>
<th>
<div class="e-avatar e-avatar-xlarge image" style="height: 4.6cm;width: 100%;">
<img src="images/shoe1.jpg" alt="Image" />
</div>
</th>
<th style="width: 80%;">
<div class="row">
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='Sample StyleNo'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Product"></SfComboBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Buyer"></SfComboBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Gender"></SfComboBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='Buyer Style'></SfTextBox>
</div>
</div>
<br />
<div class="row">
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
</div>
<br />
<div class="row">
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
</div>
<br />
<div class="row">
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
<div class="col-xs-4 col-sm-4 col-lg-4 col-md-4">
<SfTextBox Placeholder='First Name'></SfTextBox>
</div>
</div>
<br />
</th>
</tr>
</table>
Total 18 controls
First three row contain 3 control
Remaining row contains 2 controls
<table class="table">
<tr>
<th>
<div class="e-avatar e-avatar-xlarge image" style="height: 4.6cm;width: 100%;">
<img src="images/shoe1.jpg" alt="Image" />
</div>
</th>
<th style="width: 80%;">
<div>
<td>
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Product"></SfComboBox>
</td>
<td>
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Buyer"></SfComboBox>
</td>
<td>
<SfComboBox TValue="string" TItem="SampleData" Placeholder="Gender"></SfComboBox>
</td>
</div>
<br />
<div>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
</div>
<br />
<div>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
</div>
<br />
<div>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
<td>
<SfTextBox Placeholder='First Name'></SfTextBox>
</td>
</div>
</th>
</tr>
</table> |