Hiding columns in SharePoint is nothing new really, there have been several articles written on this topic. The approach for doing this, however, does inspire some debate in terms of what the best practice is. Let’s say we can agree that there are three ways to get this done: Using the built in content types [...]
Continue Reading →jqGrid Text/Word Wrapping
Just a quick post for anyone else having this issue. I am working with the latest version of jqGrid, and I am dealing with cell data that is longer than the width of the cell making it difficult to see. I wanted to have this data wrap and the height of the cell adjust to [...]
Continue Reading →jQuery – Get All Divs Whose ID Starts With
Structure: 1 2 3 4 <div id="thisismydiv1"></div> <div id="thisismydiv2"></div> <div id="thisismydiv3"></div> <div id="thisismydiv4"></div> To return an array of all divs that start with ‘thisismydiv’, you would use the following: 1 var divList = $("div[id^='thisismydiv']"); The above translates to, find me all divs whose id starts with ‘thisismydiv’. You could now do something cool like add [...]
Continue Reading →jQuery UI Tabs – Creating Closable Tabs
Ok, so this is really a follow up to my previous post where I outlined how to build jQuery Tabs that Open and Close. I did end that post with a small TODO for myself: integrate the close capability into the tab itself so the user didn’t have to click a button to close that [...]
Continue Reading →Building jQuery Tabs That Open & Close
jQuery is obviously a really powerful tool. If you’ve done any work with it, you don’t need convincing. My latest project involving jQuery was a bit tricky because I couldn’t find anything that detailed how to generate a tab once a user clicked on a link, and then how to close that tab if the [...]
Continue Reading →JQuery AutoComplete extraParams and CheckBoxes
I love jQuery. I work with it quite a lot on various projects. One of the coolest features in my humble opinion is AutoComplete. There are a ton of different plugins you can work with, some are variations of others, but for the most part, they work pretty darn good out of the box. I [...]
Continue Reading →JQuery Accessing the Client Generated ID of ASP.NET Controls
Ok, so we all know that ASP.NET controls, or any control for that matter with the runat=”server” tag, will generate a funky client ID when rendered on the page. Sometimes, we need to get at those controls via some client side javascript so that we may manipulate their properties or simply get/set their values. If [...]
Continue Reading →JQuery, Microsoft & Visual Studio
I came across something very interesting last week and just wanted to make a note of it here. I’ve talked before about including prototypejs in your SharePoint application pages, but a recent announcement from Microsoft has made me consider using an alternative. You can read about Microsoft’s news to include JQuery in Visual Studio on [...]
Continue Reading →