We wanted to use in-cell editing with a checkbox following this as an example.
https://www.telerik.com/support/code-library/checkbox-column-and-incell-editing
Pulled from : https://www.telerik.com/forums/grid-checkbox-editor-issue-with-incell-editing
Plus we used the option "Navigatable"
The result is when the checkbox is selected in the column, the Grid will jump scroll to the top. If you remove the Navigatable (false), the problem goes away.
Here is a work example of the issue.
https://dojo.telerik.com/iXoxeveM
In our example, we are trying to support keyboard navigation along with in-cell editing. Are we trying to mix two things that can't be mixed together?
Thank you
I have a bootstrap modal window that is set to be shown when a button on the page is clicked. Immediately after the javascript to show the window, I have tried to set the value of a ColorPicker which sits inside the modal div. However, the value method doesn't move the ColorPicker's cursor if done this way and it always shows up in the top-left corner. The only way I've seen to get around this limitation is by setting the ColorPicker's value in the shown.bs.modal function, after the modal has completely finished being shown. Unfortunately, this causes the modal to be displayed first and then the value is updated shortly afterwards (~half a second later) and is quite visible to the user. This oddity is also shared by the ColorPicker's slider, whose width is for some reason set to a length much too short for its container and the only way I've found to fix it is by setting the width in the same shown.bs.modal function (with the same unfortunate side-effect).
Is this by design or is there a correct way to do this? I've tried searching the forums but I couldn't find anyone with similar problems.
If I send like this data: {CusCode:'5555', MktID: "aa"}
0=%7B&1=C&2=u&3=s&4=C&5=o&6=d&7=e&8=%3A&9=%20&10='&11='&12=%2C&13=M&14=k&15=t&16=I&17=D&18=%3A&19=%20&20='&21=a&22=a&23='&24=%7D
When I Use AJAX
HOW TO USE like this data: "{Field:'',Text:'',page:1,rows:50000}" and don't enclipe my code
$.ajax({ type: "POST",
contentType: "application/json; charset=utf-8",
url: "Service.asmx/M_Portfolio_selMaster",
dataType: "json",
data: "{Field:'',Text:'',page:1,rows:50000}",
async: true,
success: function (response) {
var data = (typeof response.d) == 'string' ? eval('(' + response.d + ')') : response.d;
var tbl;
data = data.rows;
if (data.length > 0) {
for (var i = 0; i < data.length; i++) {
tbl += "<OPTION value='" + data[i]['PortfolioID'] + "'>" + data[i]['PortfolioCode'] + "</OPTION>";
}
$("#s").html(tbl);
}
}
});
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
// the remote service url
url: "wsCRM.asmx/crm_FinancialBenefitByCustomer", // GetBBGToADVTransactionsData is our web method
contentType: "application/json; charset=utf-8",
type: "POST",
// JSONP is required for cross-domain AJAX
dataType: "json",
// additional parameters sent to the remote service
data: {
CusCode:'5555',
MktID: "aa"
}
}
}
}
});
My Web service asp.net C#
[WebMethod(EnableSession = true)]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string crm_FinancialBenefitByCustomer(string CusCode,string MktID)
{
CRMDataContext dtx = new CRMDataContext();
var data = dtx.crm_FinancialBenefitByCustomer(CusCode, MktID, UserID).ToList();
JavaScriptSerializer js = new JavaScriptSerializer();
string strJSON = js.Serialize(data);
//strJSON = "{\"__count\":\"" + data.Count + "\" ,\"results\":" + strJSON + "}";
return strJSON;
}
Hi All
I'm trying to export the HTML table contents to grid, when I open the spreadsheet, the first column comes with unwanted characters, since it is a hyperlink <a> tag within the <TD> tag. Please refer the example below:
https://dojo.telerik.com/inOGITIL
Please let me know how this can be avoided.
Thanks
Vijhay Devarajan.
We have a media player which gives the following error: (the media player works but the console error is annoying)
www-widgetapi.js:99 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (xxxx) does not match the recipient window's origin (yyyyy)
Is there some configuration I can change to enable this? The xxxx url is a youtube url with https at the begining
Thanks!
Hello
I am trying to save kendo PivotGrid state for future load but I can't find a way to save/load the selected feilds (slices) using the "Fields to Include" menu along side with rows,columns and measures.
Is there any way to get and set selected fields in kendo PivotGrid?
TreeList Column Resize work fine in ltr mode but it doesn't work properly in RTL Mode
try to resize tree columns in following example :
http://dojo.telerik.com/OHUje
is there any fix code for this bug ?
Hi
Is it possible to somewhere download kendo ui not minified source files ( jquery version )?
Hello,
I have some troubles finding out when the grid data is fully loaded and displayed. Is there a way to capture the dataBound event of the grid similar to the one in the jQuery.
I noticed the data state change event also fires before the data is visually displayed, so not an option.
I need to perform an operation with multiple checkboxes, a kind of multiple selection of items so I'm adding "k-state-selected" class to visualize the selected rows.
Kind Regards,
Georgi Mitev