Telerik Forums
Kendo UI for jQuery Forum
5 answers
248 views

Hi

 

I'm using virtual scrolling in a grid and want to show and hide columns dynamically.

While doing so, it seems to work first, but breaks, after scrolling down.

Hiding column 2 and scrolling down, removing column 2 values and replaceing them with column 3 values.

 

See example for this behaviour:

http://dojo.telerik.com/EJOZAJob/6

 

How to fix column values switching while scrolling and remaining correct columns and values on scroll.

 

Greets Robin

Robin
Top achievements
Rank 1
 answered on 19 Dec 2019
3 answers
958 views

Instead of using the Toggle button I would rather use a switch for a better visual representation.

If i add a template item as such:

items.Add().Template("<input type='checkbox' id='check'>");

 

and then I try to modify the attribute of the item using jquery as such, it fails (no error, it simply doesn't work):

$("#check").attr("checked", "checked");

 

but if i move the html markup out of the template and put it somewhere else on the page, it works perfectly fine.  This also happens when i try to use:

$("#check").kendoSwitch();

 

If i move the checkbox out of the toolbar it works fine.

Is there a way to use the switch, inside the toolbar?

 

Ivan Danchev
Telerik team
 answered on 19 Dec 2019
3 answers
391 views
Hi,

The TimePicker is set to 30 minute intervals by default.

So if the time fits in that interval, the first time you open the dropbox, it will be focused at that time.


However, if the initial or recalled time is equal to 32 minutes or 49 minutes, the focus is set at 00:00.

Is there a way to round and focus to nearby times?

3:29-> 3:30 Focusing

2:14-> 2:00 Focusing

I don't want to change the value.

The focus only needs to move near that time.
Teya
Telerik team
 answered on 19 Dec 2019
1 answer
115 views
Hello,

I'm writing logic to add and store some data in an empty grid.

This is fine but I need data information for the rows I added before saving.

Accessing saveChanges () is easy to save, but I need a list of that data.

In summary
Please tell me how to access and use the data before saving the rows I just added with AddRow.
Tsvetomir
Telerik team
 answered on 19 Dec 2019
5 answers
1.3K+ views

I have 15 data, showing 10 data per page.

1page = 10data, 2page = 5data.

Total [1, 2 Page]

There is no problem so far, but the number of pages does not decrease according to the number of new read ().

If there are only one row of results, only one page should appear,
[1, 2 Page] is maintained, “No data available" appears when page 2 is pressed, and page 2 disappears.

Attach as below picture.

Do you know how to solve this?

 

 

1. Display the grid.

2. Search by words.

3. Only data that meets the criteria is displayed.

4. However, the paging number does not change immediately with the number of data.

 

 

Petar
Telerik team
 answered on 18 Dec 2019
2 answers
372 views
I'm working through an Incell editable.

Select the list you want to delete and press the Delete button to execute the remove row and the row will be "temporarily deleted", and press the Save button to actually delete it with the Sync () method.
After that, the grid is refreshed.

But what I want
If a row is deleted, the following data fills in the empty spaces.

remove Row removes the row, but does not load the next piece of data to fill the empty space.

In other words, if you remove the entire page, you will get "no data".

I want to be filled with the next data as much as the deleted rows.

(Important) Clearly, if you actually delete it with Sync () method, the screen will be updated.

What I want is a refresh when I've only progressed to remove Row ().)

Is there a way?
Veselin Tsvetanov
Telerik team
 answered on 18 Dec 2019
2 answers
314 views
dayDropDownEditor : function (container, options) {
 
            $('<input id="' + options.field + '" data-bind="value:' + options.field + '"/>')
                .appendTo(container)
                .kendoDropDownList({
                    suggest: true,
                    dataSource: [
                        {name: '조업' },
                        {name: '안함' }
                    ],
                    dataTextField: 'name',
                    dataValueField: 'name',
                    valuePrimitive: true,
                     
                });
        }

 

Hi,

My dropbox list is displayed correctly.

However, the default is still "", which is blank.

I tried using select and also index but it didn't work.


How can I make Dropbox default to the first data if I don't pick anything?


If I pick one, the data is imported normally.

If uneven, it is empty.

NHJ
Top achievements
Rank 1
 answered on 18 Dec 2019
1 answer
415 views

Hi,

I have a PanelBar left side menu with content to the right. I am happy with the functionality but would like to be able to collapse the entire side to allow more horizontal space for content. Drawer seems to have this functionality but then I would lose the PanelBar menu functionality. I have tried to put the PanelBar into a splitter but this doesn't seem to work with bootstrap and the doesn't render properly.

Do you have any suggestions for the best way to implement a hideable PanelBar side menu?

Kind regards,

David

Preslav
Telerik team
 answered on 17 Dec 2019
11 answers
635 views

I have a grid of parent windows and a popup modal B grid of child windows.

The two A and B grids use different database tables, but the configured column names (contents) are the same.
That is, the same table with only a different table name.

I do the dataSource.Insert () of the selected row from the modal popup B grid to the parent A grid and execute the Sync () method.

However, the success of this operation depends on the schema ID of the modal popup B grid.
If the schema ID of the modal popup B grid is an item that exists in the actual field (DB Select XML) of A grid, A grid's Sync () method does not consider it a new item.

Because of this, if you change the schema ID to any value that isn't in the actual field, it will be considered new.

What is the nature of the schema ID? I want to know exactly what value I need to specify the schema ID.

 

ex) Select Query : UserID, UserPW, etc... (select UserID, UserPW from tb_user(A) / tb_user2(B))
"B Grid" Schema ID : "UserID"
result : Rows added with dataSource.Insert () will not be considered new by the Sync() method.

Select Query : UserID, UserPW, etc... (select UserID, UserPW from tb_user(A) / tb_user2(B))
"B Grid" Schema ID : "PleaseSync" (It didn't really matter what value.)
result : The rows added with dataSource.Insert () are executed by the Sync() method to recognize the new item.

 

 

schema: {
    data : 'list' ,
    model: {
        id: 'prodNo',
        fields: {
            orderDSeq: { editable: false },
            orderNo: { editable: false },
            prodNo: {type: 'string'},
            mtrlQt: {type: 'string'},
            prodSize: {type: 'string'},
            prodUnit: {type: 'string'},
            orderQnt: {type: 'string'},
            presentStkQnt: {type: 'string'},
            prodPrice: {type: 'string'},
            totalPrice: {type: 'string'},
            spplLimitDt: {type: 'string'},
            reMark: {type: 'string'}

 

Above is the schema of A grid, And

 

schema: {
    data: 'list',
    model: {
        id: 'key',
        fields: {
             prodNm: {type: 'string'},
             orderNo: {type : 'string'},
             prodNo: { type: 'string' },
             mtrlQt: { type: 'string' },
             prodSize: { type: 'string' },
             sStk: { type: 'string' },
             prodPrice: { type: 'string' }

 

Above is the modal popup schema.

 

If you change id: key to id: prodNm, Async's sync () method no longer detects the change.

 

Alex Hajigeorgieva
Telerik team
 answered on 17 Dec 2019
3 answers
977 views

Hi,

I have a numeric textbox inside a Grid. I would like to allow showing a "," as a separator (thousands) and also allow decimals.

In the OnEdit of the Grid, I have the following setup:

1.edit: function(e) {
2.                e.container.find("input[name^=costOperand]").kendoNumericTextBox({
3.                    min: 1,
4.                    max: 888888887,
5.                    step: 100
6.                });
7.}

 

With the above the numeric textbox doesn't allow me to type in a ",". Only decimals are allowed.

Any idea?

 

Thanks

Alex Hajigeorgieva
Telerik team
 answered on 16 Dec 2019
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
TextArea
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?