jQWidgets Forums
Forum Replies Created
-
Author
-
February 14, 2014 at 7:19 pm in reply to: replacing "loading" image ? replacing "loading" image ? #49544
HI
#productgrid .jqx-grid-load{background-image: url(../images/load_products.gif);}
not showing fully, my image is longer with text “Loading search items”.And can we show text while loading in different color ?
Those images are animated text based images.
Thanks
HI
It works ..
$(element[0]).text(“Hi”);Thanks
February 14, 2014 at 1:24 pm in reply to: tooltip styling for a grid column tooltip styling for a grid column #49529Hi
fantastic,
but could you please know where we can documentation on available properties / methods available for following :
cell, event, element, row etc.
I haven’t found under documentation section, documenting those would help many of us.
Thanks
February 14, 2014 at 2:22 am in reply to: tooltip styling for a grid column tooltip styling for a grid column #49495HI
Thanks for helping ..
$(“#jqxgrid”).jqxGrid(
{
width: 670,
source: dataAdapter,
selectionMode: ‘singlecell’,
columnsresize: true,
// trigger cell hover.
cellhover: function (element, pageX, pageY)
{
// update tooltip.
$(“#jqxgrid”).jqxTooltip({ content: element.innerHTML });
// open tooltip.
$(“#jqxgrid”).jqxTooltip(‘open’, pageX + 15, pageY + 15);
},
columns: [
{ text: ‘Name’, dataField: ‘firstname’, width: 100 },
{ text: ‘Last Name’, dataField: ‘lastname’, width: 100 },
{ text: ‘Product’, editable: false, dataField: ‘productname’, width: 180 },
{ text: ‘Quantity’, dataField: ‘quantity’, width: 80, cellsalign: ‘right’ },
{ text: ‘Unit Price’, dataField: ‘price’, width: 90, cellsalign: ‘right’, cellsformat: ‘c2’ },
{ text: ‘Total’, dataField: ‘total’, cellsalign: ‘right’, minwidth: 100, cellsformat: ‘c2’ }
]
});Thanks
February 13, 2014 at 11:58 am in reply to: tooltip styling for a grid column tooltip styling for a grid column #49469HI
Any help ?Thanks
Hi
it works like ..element[0].title = ‘Hello ………’;
Thanks
HI
From above advice, I’m using custom cellrendering and coucl you please help on how to set title attribute to an element ?
cellsrenderer:qtyCell……
function qtyCell (row, column, value, defaultHtml) {
var element = $(defaultHtml);
element.css(‘color’, ‘#AAAAAA’);
element.title = ‘Hello ………’;return element[0].outerHTML;
}it doesn’t work,
Thanks
February 12, 2014 at 7:46 am in reply to: tooltip styling for a grid column tooltip styling for a grid column #49363Hi
Great help ..Custom tooltip working .. but need further help on showing tool tip conditionally, help me how to code it.
Here is the scenario :
– We have quantity field displaying in grid (input editor)
– some times quantity field turns to red color if the quantity entered is exceeding available quantity, this column is not displaying in grid but part of var dataFields = [ … ]Now i need to show conditional tool tip only for quantity fields which are in red color (entered qty > available qty) .. tip should be like “Quantity entered exceeded”
how to use “open” call to do this ?
Thanks
Thanks
February 12, 2014 at 7:13 am in reply to: font size in DropDownList ? font size in DropDownList ? #49353HI
Thanks for your reply.
“jqx-dropdownlist-content” applies only to selected item, following works completely .. any harm in adding two more styles ?
.jqx-dropdownlist-content { font-size : 11px;}
.jqx-listitem-state-selected { font-size : 11px; }
.jqx-listitem-state-normal {font-size : 11px; }Thanks
February 12, 2014 at 2:36 am in reply to: tooltip styling for a grid column tooltip styling for a grid column #49337HI
cellhover: function (element, pageX, pageY)
{
// update tooltip.
$(“#jqxgrid”).jqxTooltip({ content: element.innerHTML });
// open tooltip.
$(“#jqxgrid”).jqxTooltip(‘open’, pageX + 15, pageY + 15);
},from above code .. how do i get actual content of “cell”, i need to edit for showing it as a tooltip and any idea on applying styling and need to show tool tip on certain conditions ?
and “cellhover” is a function of JQWIDGETS ? i don;t find any documentation related to this?
Thanks
HI
cellhover: function (element, pageX, pageY)
{
// update tooltip.
$(“#jqxgrid”).jqxTooltip({ content: element.innerHTML });
// open tooltip.
$(“#jqxgrid”).jqxTooltip(‘open’, pageX + 15, pageY + 15);
},from above code .. how do i get actual content of “cell”, i need to edit for showing it as a tooltip and any idea on applying styling.
Thanks
February 11, 2014 at 7:53 am in reply to: tooltip styling for a grid column tooltip styling for a grid column #49301HI
that’s fine, but please help how do we show custom tooltip for a column in Grid, rather then showing value “title” attribute.
Thanks
February 11, 2014 at 6:17 am in reply to: Showing overlay "processing" when grid data submitted Showing overlay "processing" when grid data submitted #49284HI
Can we grey out the screen when using “showloadelement” and “hideloadelement” to prevent user from clicking any other buttons ?
Thanks
February 10, 2014 at 3:11 pm in reply to: Grid-event not getting fired Grid-event not getting fired #49265HI
why it was like this ..
“strong” keyword before cellvaluechanging: …. ?
Thanks
February 10, 2014 at 3:07 pm in reply to: cells rendering based on property cells rendering based on property #49264HI
If you need to check value of another cell inside of rendercell …
function renderCell (row, column, value, defaultHtml) {
var datarow = $(‘#grid”).jqxGrid(‘getrowdata’, row);
if(datarow.price > 0) { … }
}Hope it helps.
thanks
-
AuthorPosts