How to fix the rounding issue in kendo grid for column. -


i using kendo grid binding string value 723086288701357234 in column rounded `723086288701357200'. thought issue because of bounding int type model column change string issue still exists.

bellow grid binding.

 @(html.kendo().grid<assets>().name("rgdsearchtrackingdevices").htmlattributes(new { @style = "text-align:left;font-size:8pt;;width:99%;visibility:hidden;" }).columns(columns =>               {                   columns.imagecolumn("<span class='spirtgrid sprite-search' title='view' onclick=\"viewmanagedevicedetails('#=assetid#') \"></span>").filterable(false).groupable(false).sortable(false).htmlattributes(new { @style = "width:30px; text-align:center;" }).headerhtmlattributes(new { @style = "width:30px;" }).title("view");                   columns.imagecolumn("<span class='spirtgrid sprite-controls' title='control' onclick=\"controldevice('#=assetid#','#=companyid#') \"></span>").filterable(false).groupable(false).sortable(false).htmlattributes(new { @style = "width:40px; text-align:center;" }).headerhtmlattributes(new { @style = "width:40px;" }).title("control");                   columns.bound(x => x.alias).filterable(htmlextensions.boundcolumnfilter).clienttemplate("<span class='link' onclick=\"viewmanagedevicedetails('#=assetid#')\">#=alias#</span>").filterable(htmlextensions.boundcolumnfilter);                   columns.bound(x => x.mdn).clienttemplate("<span class='link' onclick=\"viewdevicedetails('#=assetid#')\">#=assetkey#</span>").filterable(htmlextensions.boundcolumnfilter).title("mdn");                   columns.bound(x => x.imei);                   columns.bound(x => x.batterypercentage_converted).title("battery %");                   columns.bound(x => x.company.company1).title("company").clienttemplate("<span class='link' onclick=\"viewcompanydetails('#=companyid#')\">#=company.company1#</span>").filterable(htmlextensions.boundcolumnfilter);                   columns.bound(x => x.devicetype.devicetype1).title("device type").htmlattributes(new { @style = "width:130px;" }).headerhtmlattributes(new { @style = "width:130px;" }).filterable(htmlextensions.boundcolumnfilter);               })               .datasource(datasource => datasource.ajax()                   .read(read => read.action(constants.controllername.usercontrols_device, constants.actionname.readsearchdevice).data("searchdata_trackingdevice")))                   .filterable(htmlextensions.filterconfiguration)                   .filterable(x => x.extra(false))                   .sortable(sort => sort.enabled(true))                   .autobind(false)                   .resizable(resize => resize.columns(true))                   .pageable(pagable => pagable.pagesizes(pagesize))                   .scrollable(scroll => scroll.enabled(true))                   .events(e => e.databound("rgdsearchtrackingdevices_databound"))                   ) 

here in mdn column getting issue.please suggest doing wrong.thank you.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -