PDA

View Full Version : [CLOSED] Slider in grid column



shaileshsakaria
Sep 11, 2013, 11:31 AM
Hi

I want to add slider in grid column so that in each row, slider should visible. how to do that?

Thanks

Daniil
Sep 11, 2013, 2:18 PM
Hi @shaileshsakaria,

I would try to use a ComponentColumn.
http://examples2.ext.net/#/GridPanel/ComponentColumn/Overview/

shaileshsakaria
Sep 11, 2013, 4:56 PM
Hi Daniil,

It works. I have implemented it as you have suggested.



<ext:ComponentColumn ID="ComponentColumn1" runat="server" Flex="1">
<Component>
<ext:Container ID="Container15" runat="server" Height="22">
<Items>
<ext:Slider ID="slidercolumnname" runat="server" ItemID="itemcolumnname" DecimalPrecision="3" MaxValue="100" MinValue="0" Width="250px">
<Listeners>
<DragEnd Handler="this.ownerCt.record.set('columnname', this.getValue());App.store.sync();" />
</Listeners>
</ext:Slider>
</Items>
</ext:Container>
</Component>
<Listeners>

</Listeners>
</ext:ComponentColumn>



Thanks